Sign inSign up

fgracia/openarena

By fgracia

•Updated over 8 years ago

Docker image for OpenArena server

Image
1

10K+

fgracia/openarena repository overview

⁠Docker OpenArena server

This is a Dockerfile to deploy OpenArena server.

⁠How to run

Here's how you can run the container :

docker run --restart=always --name openarena -d -p 27950:27950/udp -p 27960:27960/udp -v /etc/localtime:/etc/localtime:ro -v /<local-directory-for-config-files>:/data fgracia/openarena

Where :

  • --restart=always : allows to automatically restart the container if it stops, of if the host reboots.
  • --name openarena : you can choose the name that you want
  • -d : daemon mode
  • -p 27950:27950/udp -p 27960:27960/udp : maps the defaults UDP ports 27950 and 27960.
  • -v /etc/localtime:/etc/localtime:ro : sets the UTC like the host (optional)
  • -v /local-directory-for-config-files:/data : if you want persistent config and map files, stored outside of your container. You can put all your maps in this folder.

⁠Docker Compose

Because of a pretty hard docker run command to remember, you can use docker-compose (see the docker-compose.yml script). You will juste have to adapt the data volume and then run :

docker-compose up -d

Tag summary

Content type

Image

Digest

sha256:478604f11…

Size

880.5 MB

Last updated

over 8 years ago

docker pull fgracia/openarena