执行 systemctl stop docker 后提示“Warning: Stopping docker.service, but it can still be activated by: docker.socket”

学习笔记402—Warning: Stopping docker.service, but it can still be activated by: docker.socket_.net

解释:

这是docker在关闭状态下被访问自动唤醒机制,很人性化,即这时再执行任意docker命令会直接启动

学习笔记402—Warning: Stopping docker.service, but it can still be activated by: docker.socket_docker_02

学习笔记402—Warning: Stopping docker.service, but it can still be activated by: docker.socket_docker_03

注:如果真的不希望docker被访问自动唤醒,执行 systemctl stop docker 后再执行systemctl stop docker.socket即可。