修改docker容器参数 创建容器时没有添加参数 --restart=always ,导致的后果是:当 Docker 重启时,容器未能自动启动。 docker container update --restart=always 容器名字