Skip to content

Releases: sl5net/docker-0ad-mod-testbed

GPU Accelerated Vulkan Release

10 Mar 12:10

Choose a tag to compare

This release enables GPU acceleration for 0 A.D. in a Docker container using the NVIDIA Container Toolkit and Vulkan.

Key features:

  • 0 A.D. runs inside a Docker container.
  • GPU acceleration is enabled using the NVIDIA Container Toolkit and Vulkan, resulting in improved performance.
  • The release includes a Dockerfile and a start script for easy setup.

Place the AppImage file (e.g., 0ad-0.27.0-linux-x86_64.AppImage) in the same directory as the extracted archive (e.g., docker-0ad-mod-testbed-0.1.0).

Extract the AppImage: Run the following commands to extract the contents of the AppImage and rename the extracted directory:

    ./0ad-0.27.0-linux-x86_64.AppImage --appimage-extract
    mv squashfs-root 0ad-extracted

Build the Docker Image: Build the Docker image using the following command:

    DOCKER_BUILDKIT=1 docker build --no-cache -t 0ad .

Run the 0 A.D. Docker Container: Run the start_0ad.sh script to start the Docker container:

    ./start_0ad.sh

Optionally: config

0ad-extracted/usr/data/mods/

0ad-extracted/usr/data/config/user.cfg

Please refer to the README.md file for detailed instructions on how to use this release.

image