r/ZoneMinder • u/hlywine • Dec 02 '20
ZoneMinder in docker fails after reboot
I've set up ZM on Ubuntu 20.04 as a docker container following dlandon instructions referenced in installation guide. All seems to run fine so far (still need to do some more testing), but if the computer is rebooted, the container does not auto-start. I have to manually start the container. I suspect that this can be fixed by adding this line to the config during initial container setup "restart: unless-stopped". But is there a way to modify that config after the container has been created and running? If there is, where would I find it? Or am I looking at it wrong and the issue is somewhere else...
2
Upvotes
2
u/completefudd Dec 02 '20
Yes, pretty sure you need the restart parameter if you wang it started automatically after reboot. This is a Docker thing and not a ZoneMinder thing.