Docker for ARK: Survival Evolved
Find a file
2015-09-17 13:37:12 +02:00
arkmanager.cfg add lsof 2015-09-17 13:37:12 +02:00
Dockerfile add lsof 2015-09-17 13:37:12 +02:00
README.md Create README.md 2015-09-17 13:21:43 +02:00
run.sh first commit 2015-09-17 11:21:35 +02:00

Ark Survived Evolved - Docker

Docker build for managing an Ark Survived Evolved server.

This image uses [Ark Server Tools] (https://github.com/FezVrasta/ark-server-tools) to manage an ark server.

Usage

Fast & Easy server setup :
docker run -d -p 7778:7778 -p 27016:27016 -e SESSIONNAME=myserver -e ADMINPASSWORD="mypasswordadmin" --name ark turzam/ark

You can map the ark volume to access config files :
docker run -d -p 7778:7778 -p 27016:27016 -e SESSIONNAME=myserver -v /my/path/to/ark:/ark --name ark turzam/ark
Then you can edit /my/path/to/ark/arkcmanager.cfg (the values override GameUserSetting.ini) and /my/path/to/ark/server/ShooterGame/Saved/Config/LinuxServer/GameUserSetting.ini.

You can manager your server with rcon if you map the rcon port :
docker run -d -p 7778:7778 -p 27016:27016 -p 32330:32330 -e SESSIONNAME=myserver --name ark turzam/ark

You can define a server that updates itself every 2 hours and backups itself every hours:
docker run -d -p 7778:7778 -p 27016:27016 -e SESSIONNAME=myserver -e AUTOBACKUP=60 -e AUTOUPDATE=120 --name ark turzam/ark

You can check your server with :
docker exec ark arkmanager status

You can manually update your server:
docker exec ark arkmanager update

You can force save your server :
docker exec ark arkmanager saveworld

You can use rcon command via docker :
docker exec ark arkmanager rconcmd ListPlayers
Full list of available command here

You can check all available command for arkmanager here


  • First run
    docker run -it -p 7778:7778 -p 27016:27016 -p 32330:32330 -e SESSIONNAME=myserver -e ADMINPASSWORD="mypasswordadmin" -e AUTOUPDATE=120 -e AUTOBACKUP=60 -v /my/path/to/ark:/ark --name ark turzam/ark
  • Wait for ark to be downloaded installed and launched, then Ctrl+C to stop the server.
  • Modify /my/path/to/ark/server/ShooterGame/Saved/Config/LinuxServer/GameUserSetting.ini.
  • docker start ark
  • Check your server with :
    docker exec ark arkmanager status

Variables

  • SESSIONNAME Name of your ark server (default : "Ark Docker")
  • SERVERMAP Map of your ark server (default : "TheIsland")
  • SERVERPASSWORD Password of your ark server (default : "")
  • ADMINPASSWORD Admin password of your ark server (default : "adminpassword")
  • BACKUPONSTART 1 : Backup the server when the container is started. 0: no backup (default : 1)
  • UPDATEPONSTART 1 : Update the server when the container is started. 0: no update (default : 1)
  • AUTOUPDATE Number of minute between each check for une newer version (-1 disable auto update) (default : -1) Auto update is set to --warn and warn the players 30 minutes before update (default, can be changed in /ark/arkmanager.cfg).
  • AUTOBACKUP Number of minute between each backup (-1 disable auto backup) (default : -1)

Volumes

  • /ark : Working directory :
    • /ark/server : Server files and data.
    • /ark/log : logs
    • /ark/backup : backups
    • /ark/arkmanager.cfg : config file

Expose

  • Port : 7778 : Steam port
  • Port : 27016 : server port
  • Port : 32330 : rcon port

Known issues