HUB
Sign inSign up

umair101/xonotic-server

By umair101

•Updated over 1 year ago

Xonotic Server Container Image

Image
Web servers
5

4.2K

umair101/xonotic-server repository overview

⁠Xonotic Server

⁠Quick Reference

⁠Overview

This Docker image allows you to run a dedicated server for Xonotic, a fast-paced, open-source first-person shooter game. The image is lightweight, easy to set up, and suitable for hosting multiplayer game servers.


⁠Features

  • Pre-configured Xonotic server.
  • Automatically downloads the latest Xonotic game files.
  • Customizable server settings.
  • Exposes the default UDP port for multiplayer connections.

⁠Usage

⁠1. Pull the Docker Image
docker pull umair101/xonotic-server:v1.1
⁠2. Run the Docker Container

Once you have the you can run the Xonotic server with this command:

docker run -d --name xonotic-server -p 26000:26000/udp -p 26000:26000 umair101/xonotic-server:v1.1

This starts the server and makes it accessible on port 26000.

⁠3. Verify the Server

Check the server logs to verify it is running:

docker logs xonotic-server

⁠Environment Variables

You can customize the server using the following environment variables:

VariableDefault ValueDescription
XONOTIC_DOWNLOAD_URLhttp://dl.xonotic.org/xonotic-0.8.6.zipURL to download the Xonotic game files.

⁠Configuration

To modify server settings, edit the server.cfg file located in the /opt/Xonotic/data directory within the container:

  1. Access the container shell:
    docker exec -it xonotic-server bash
    
  2. Navigate to the configuration directory:
    cd /opt/Xonotic/data
    
  3. Edit server.cfg using a text editor like nano or vi.

⁠License

This image is provided under the GNU General Public License v3.0, as is the Xonotic game. For more details, visit the Xonotic License page⁠.

Tag summary
Recent tags
Content type
Image
Digest
sha256:c067d8d33…
Size
1.2 GB
Last updated
over 1 year ago
docker pull umair101/xonotic-server:v1.1