Docker容器开机自启动配置 一、未启动的容器服务 docker run 命令中加入 --restart=always 二、已启动的容器服务 docker update --restart=always 容器id或名称