Skip to content
Discussion options

You must be logged in to vote

The restart policy only starts working when the container has started successfully before to prevent restart loops. Since the container could not start properly after you rebooted the host, the docker engine never tried to restart the container.
https://docs.docker.com/engine/containers/start-containers-automatically/#restart-policy-details

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@f18m
Comment options

@kimdre
Comment options

@f18m
Comment options

@f18m
Comment options

Answer selected by f18m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants