Always Restart Docker Containers

Lately we had an unnecessary downtime of the Planets homepage because of a docker restart. Wouldn't it be cool if docker would always restart our containers?

$ docker run --restart=always -d planets-homepage

For more information see the official documentation about Restart policies (--restart)

Show Comments