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

image.png

这是因为除了docker.service单元文件外,还有一个docker.socket单元文件…这是用来激活socket的。这个警告意味着如果你在docker服务没有运行的情况下尝试连接docker套接字,那么systemd会自动为你启动docker。

解决思路

关闭docker.socket

systemctl stop docker.socket

image.png

相关文章
|
2月前
|
编解码 Linux Docker
如何在Windows上使用Docker,搭建一款实用的个人IT工具箱It- Tools
如何在Windows上使用Docker,搭建一款实用的个人IT工具箱It- Tools
44 0
|
8月前
|
Unix Docker 容器
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker
|
2月前
|
Docker 容器
docker使用遇到问题Got permission denied while trying to connect to the Docker daemon socket
docker使用遇到问题Got permission denied while trying to connect to the Docker daemon socket
75 0
|
JSON Unix 数据格式
docker权限不足Got permission denied while trying to connect to the Docker daemon socket at unix:///var/r
docker权限不足Got permission denied while trying to connect to the Docker daemon socket at unix:///var/r
2022 0
|
存储 运维 Java
不认识docker,怎么好意思说自己是干IT的
不认识docker,怎么好意思说自己是干IT的
85 0
|
Docker 容器
docker出现问题:You cannot attach to a stopped container, start it first 解决方案
docker出现问题:You cannot attach to a stopped container, start it first 解决方案
1093 0
docker出现问题:You cannot attach to a stopped container, start it first 解决方案
|
JSON Unix Linux
denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock.......
denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock.......
150 0
denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock.......
|
Docker 容器 Kubernetes
Docker技术的特性可以为IT团队带来什么价值?睿云智合(Wise2C)浅解
技术作为目前IT行业应用打包以及流程标准化的趋势技术,是IT团队提高响应速度与交付能力的基础。Docker技术的特性可以为IT团队带来怎样的价值呢?睿云智合(Wise2C)作为容器技术的领先者为你解开Docker技术所带来的价值。
1301 0
|
Ubuntu 虚拟化 UED
2015年IT领域里Docker和其它颠覆性的趋势
本文讲的是2015年IT领域里Docker和其它颠覆性的趋势,【编者的话】文中作者介绍了2015年IT领域的一些颠覆性的趋势,比如Docker将如何革新PaaS、IaaS等,Docker将如何颠覆虚拟化、私有云、配置管理。
1910 0
|
Docker 容器
<转载>借助 Docker 企业版大幅节省 IT 预算
我们最近启动了一项针对系统管理员和 IT 专业人员的系列学习内容,称之为“IT 人员的 Docker 入门”。我们此前已经介绍了一些基础知识,包括容器技术以及面向企业的 Docker 解决方案。
1489 0