斐讯设备

问题:Warning: Stopping docker.service, but it can still be activated by: docker.socket

daimafengzi · 4月19日 · 2023年本文共228个字 · 预计阅读1分钟73次已读

问题

执行

systemctl stop docker

后提示

“Warning: Stopping docker.service, but it can still be activated by: docker.socket”

问题:Warning: Stopping docker.service, but it can still be activated by: docker.socket

解释:

这是docker在关闭状态下被访问自动唤醒机制,很人性化,即这时再执行任意docker命令会直接启动
问题:Warning: Stopping docker.service, but it can still be activated by: docker.socket
问题:Warning: Stopping docker.service, but it can still be activated by: docker.socket
注:如果真的不希望docker被访问自动唤醒,执行

systemctl stop docker

后再执行

systemctl stop docker.socket

即可

0 条回应
| 耗时 0.364 秒 | 查询 52 次 | 内存 4.21 MB |
本站CDN由One degree CDN提供