CodePark/ questions / Healthchecks, restarts & logs
START PRACTICINGPRACTICE
Backend question · Docker › Healthchecks, restarts & logs

You want a container to restart after crashes and after the host reboots, but stay stopped if you stop it manually with docker stop, even across a daemon restart. Which restart policy fits?