Barotrauma dedicated server in an ubuntu 20 based Docker container
  • Dockerfile 73%
  • Shell 27%
Find a file
ggrainger c386759816
All checks were successful
Docker Image CI / build (push) Successful in 9s
Add build status to README
2026-06-03 22:10:22 +00:00
.forgejo/workflows Change file name 2026-06-03 22:09:41 +00:00
Dockerfile Allow other non-root users to run image 2023-06-20 23:41:01 +01:00
entrypoint.sh Switch to rootless container 2023-06-20 21:48:12 +01:00
LICENSE Initial commit 2022-09-28 23:07:14 +01:00
README.md Add build status to README 2026-06-03 22:10:22 +00:00
splash.txt Add newline in splash.txt 2023-03-04 16:14:10 +00:00

Barotrauma-Docker

Build Status

Barotrauma dedicated server in a Ubuntu 20 Docker container.

Based on the steamcmd Docker image

File structure

The file structure within the container is as follows:

📁home/
├─ 📁baro/
│  ├─📁.local
│  │  ├─📁share
|  |  |  ├─📁Daedalic Entertainment GmbH
|  |  |  |  ├─📁Barotrauma
|  |  |  |  |  ├─ Save files here
📁server/
├─ Server files here

To customise settings, use a volume bound to /server. Default config files will be added if none are provided.
To preserve saves, add a volume for /home/steam/.local/share/Daedalic Entertainment GmbH/Barotrauma.

Running

Docker CLI

docker run \
    -p 27015:27015/udp \
    -p 27016:27016/udp \
    -v barotrauma-server:/server \
    -v "barotrauma-data:/home/steam/.local/share/Daedalic Entertainment GmbH/Barotrauma" \
    code.ggrainger.uk/ggrainger/barotrauma-docker

Docker Compose

version: "3.8"
services:
    barotrauma:
        image: code.ggrainger.uk/ggrainger/barotrauma-docker
        ports:
            - 27015:27015/udp
            - 27016:27016/udp
        volumes:
            - ./server:/server
            - ./data:/home/steam/.local/share/Daedalic Entertainment GmbH/Barotrauma