Skip to content

A Dockerfile that wraps a Godot 4.x server in a container that runs in headless mode

License

Notifications You must be signed in to change notification settings

briancain/GodotServer-Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Godot 4.x Headless Server as a Container

This repository contains a Dockerfile to build a Godot 4.x headless server container. It can be used for running Godot in headless mode as a standalone server for things like multiplayer games running in The Cloud ☁️.

Usage

Build the container

This repo provides a Makefile that will build all Dockerfile containers.

make

Run the container

To confirm it works, you can run the following commands once you have built the container.

docker run godot

You can also run that container in something like Amazons ECS or Kubernetes. But that exercise is left to the reader, for now.

TODO

Support other runtime platforms:

  • Windows
  • MacOS
  • Non-Ubuntu Linux
    • CentOS
    • Your favorite distro here

My preferred deployment operating system is Ubuntu so I plan on mainly supporting that distro myself.

References