Docker启动,重启,关闭,开机自启命令
Docker启动命令1:sudo systemctl start dockerDocker启动命令2:sudo service docker startDocker重启命令1: sudo systemctl restartdockerDocker重启命令2: sudo service docker restartdocker关闭命令1: sudosystemctl sto...
·
Docker启动命令1: sudo systemctl start docker
Docker启动命令2: sudo service docker start
Docker重启命令1: sudo systemctl restart docker
Docker重启命令2: sudo service docker restart
docker关闭命令1: sudo systemctl stop docker
docker关闭命令2: sudo service docker stop
守护进程重启: sudo systemctl daemon-reload
设置Docker开机自启动方式1: systemctl enable docker.service
设置Docker开机自启动方式2: chkconfig docker on
关闭Docker开机启动: systemctl disable docker.service
查看是否设置开机启动列表: systemctl list-unit-files | grep enable
更多推荐
已为社区贡献1条内容
所有评论(0)