docker run --restart always myimage

Category: Docker

docker run --restart always myimage

Always restart the container automatically, including on Docker daemon restart

Configures the container to always restart automatically, including after a Docker daemon or system restart.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.