修改docker容器參數

建立容器時沒有添加參數  --restart=always ,致使的後果是:當 Docker 重啓時,容器未能自動啓動。docker

docker container update --restart=always 容器名字
相關文章
相關標籤/搜索