如果创建时未指定 --restart=always ,可通过update 命令设置 docker update --restart=always 容器 例如:docker update --restart=always mysql