Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker-armagetronad

A nice and easy way to get a Armagetronad server up and running using docker. For
help on getting started with docker see the official getting started guide.
For more information on Armagetronad and check out it's website.
You can simply take the image from the official repository with:

docker pull izissise/armagetronad

Building docker-armagetronad

Running this will build you a docker image with the latest version of both
docker-armagetronad and Armagetronad-0.2.9-sty+ct+ap itself.

git clone https://github.com/izissise/docker-armagetronad
cd docker-armagetronad
docker build -t izissise/armagetronad .

Running docker-armagetronad

Running the first time will set your port to a static port of your choice so
that you can easily map a proxy to. If this is the only thing running on your
system you can map the port to 4534 and no proxy is needed. i.e.
-p=4534:4534/udp Also be sure your mounted directory on your host machine is
already created before running mkdir -p /mnt/armagetronad. And to put in that
directory configuaration files of the server:
examples network.cfg server_info.cfg settings_authentication.cfg settings_custom.cfg
You need TRUST_LAN 1

docker run -d -p 4534:4534/udp -v "/mnt/armagetronad:/home/armagetronad/settings/settings" --name="armagetronad" izissise/armagetronad

From now on when you start/stop docker-armagetronad you should use the container id
with the following commands. To get your container id, after you initial run
type sudo docker ps and it will show up on the left side followed by the
image name which is izissise/armagetronad:latest.

docker start <container_id>
docker stop <container_id>

Notes on the run command

  • -v is the volume you are mounting -v=host_dir:docker_dir
  • izissise/armagetronad is simply what I called my docker build of this image
  • -d=true allows this to run cleanly as a daemon, remove for debugging
  • -p is the port it connects to, -p=host_port:docker_port
Docker Pull Command
Owner
izissise
Source Repository

Comments (0)