docker container restarting

docker container restarting | docker restart

sudo systemctl restart docker

docker run restart on boot

$ docker run -d --restart unless-stopped <image>

docker run restart always

$ docker run --restart=always redis

docker why my container start on reboot

docker update --restart=no $(docker ps -a -q)

docker restart container

docker restart CONTAINER_ID

Leave a Comment