When you restart your Synology Nas The docker container stops. Tell us how you can be restarted automatically turn on the docker container.
How to auto start docker when synology restart
If you run your docker container from command line, you can set it to restart automatically. See forum.synology.com/enu/viewtopic.php?t=101241 –
Kinna
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.
Wow, that was hard to find ;) Ty –
Desirae
When launching an image in Docker > Image, you can find "Enable auto-restart" behind the "Advanced Settings" button.
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.
© 2022 - 2024 — McMap. All rights reserved.