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