- 开启(开机 自启动 容器)
docker update --restart=always {
容器ID/Name}
- 关闭(开机 自启动 容器)
docker update --restart=no {
容器ID/Name}
我们下期见,拜拜!
docker update --restart=always {
容器ID/Name}
docker update --restart=no {
容器ID/Name}
我们下期见,拜拜!