Reputation: 1
Docker containers are not coming up after host crash or reboot. We see volume unmount errors in docker logs. This issue is not happening frequently it is happening sporadically.
We had to delete containers and recreate them to make it work which is impacting our environment. Please let us know if there is any way to avoid this situation.
Upvotes: 0
Views: 724
Reputation: 8566
Use --restart unless-stopped
option in docker run
command.
For more information Restart policies (--restart
)
Upvotes: 1