Image Setup Details
- Docker Host OS: Ubuntu 18.04.4 LTS
docker run command or docker-compose.yml file:
$ docker run -d \
-v steam:/home/steam/Steam \
-v ark:/ark \
-p 27015:27015 -p 27015:27015/udp \
-p 7778:7778 -p 7778:7778/udp \
-p 7777:7777 -p 7777:7777/udp \
thmhoag/arkserver
Description of Issue
The container restart policy is not set by documented "docker run" command. The default restart policy for Docker is "no", and as a result, the container will stop and fail to restart when the arkmanager CRON job for restarting the ark server instance triggers. This CRON job runs at 10:15am every day (UTC time).
Additional Information
Docker documentation about restart policy: https://docs.docker.com/config/containers/start-containers-automatically/
CRON job code from run.sh file that triggers restart (line 69): 15 10 * * * arkmanager restart --warn --saveworld
Recommend updating documented "docker run" command to include "--restart always"
Image Setup Details
docker runcommand ordocker-compose.ymlfile:Description of Issue
The container restart policy is not set by documented "docker run" command. The default restart policy for Docker is "no", and as a result, the container will stop and fail to restart when the arkmanager CRON job for restarting the ark server instance triggers. This CRON job runs at 10:15am every day (UTC time).
Additional Information
Docker documentation about restart policy: https://docs.docker.com/config/containers/start-containers-automatically/
CRON job code from run.sh file that triggers restart (line 69): 15 10 * * * arkmanager restart --warn --saveworld
Recommend updating documented "docker run" command to include "--restart always"