由于项目需要把之前运行的程序停掉,之前用docker部署的,但是停掉以后,发现又启动起来了,
现在记录一下,彻底关闭docker的方法:
[root@ems-dict-host1 ~]# systemctl stop docker
Warning: Stopping docker.service, but it can still be activated by:
docker.socket
[root@ems-dict-host1 ~]# systemctl stop docker.socket
执行两句:
systemctl stop docker
systemctl stop docker.socket
然后再去:
systemctl disable docker.service
执行这句来关闭开机启动