user6243662
user6243662

Reputation:

How to auto start docker when synology restart

When you restart your Synology Nas The docker container stops. Tell us how you can be restarted automatically turn on the docker container.

Upvotes: 5

Views: 13787

Answers (3)

Toastlover
Toastlover

Reputation: 81

I'm new to NAS Systems myself and just ordered one (not arrived yet) but i've already worked with docker containers on linux system for a few years.

You should be able to modify the docker compose file and simply add restart: always which then would restart the container automatically if it's down.

Upvotes: 0

JoopNL
JoopNL

Reputation: 111

For existing containers you can find the "Enable auto-restart" setting under Docker > Container > Edit > General Setttings.

The container must be stopped to edit the settings.

Upvotes: 11

Laoujin
Laoujin

Reputation: 10239

When launching an image in Docker > Image, you can find "Enable auto-restart" behind the "Advanced Settings" button.

Upvotes: 4

Related Questions