docker docker container is provided automatically restart the container may start

  1. Additional parameters can --restart = always run when the container
  2. If the container is already running, how does that add this parameter
docker container update --restart=always 容器名字
  1. You can restart it docker test
systemctl restart docker
Published 84 original articles · won praise 10 · views 10000 +

Guess you like

Origin blog.csdn.net/yidou120/article/details/104544717