安装Docker时错误提示 "could not change group /var/run/docker.sock to docker: group docker not found"的解决方案
2019-03-04 17:22
2546 查看
安装Dock服务,主要命令是 yum install docker。
但是在启动的时候报错:warning msg="could not change group /var/run/docker.sock to docker: group docker not found"
错误截图如下:
解决方案是在docker的配置文件/etc/sysconfig/docke 中设置禁用selinux。
(方法来源于 https://www.jianshu.com/p/a62ffb13ada6,在此感谢!!!)
验证:设置后再次启动docker.service,没有报错,验证状态OK。
不要忘记配置自启动 systemctl enable docker
相关文章推荐
- docker启动失败failed to connect to containerd: could not change group /var/run/docker.sock:group docker
- 安装SP2后,提示"'Preserving/Deleting template record with size","The expected version of the product was not found on the “错误
- ubuntu vps安装docker报错:Cannot connect to the Docker daemon at unix:///var/run/docker.sock.问题解决
- virt-manager linux上虚拟机安装错误处理:error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No
- 关于pip安装时提示"pkg_resources.DistributionNotFound"错误
- Eclipse Wowza 插件报 "The builder launch configuration could not be found" 错误的解决办法
- Unity3D使用Animator报:"Animator.GotoState: State could not be found invalid layer index"错误解决方
- Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法
- IDA Pro调试出现"Could not connect to localhost: 由于目标计算机积极拒绝,无法连接。"的解决方案
- 安装gz包的Mysql提示 "LinuxThreads"... "Not found"
- Visual Studio 2015打开ASP.NET MVC的View提示"Object reference not set to an instance of an object"错误的解决方案
- Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法
- Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法
- 执行docker ps命令,出现 "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. ..."问题
- 安装TortoiseSVN报could not write value to key的错误解决方案
- Ubuntu安装VMware-tools时出现the path "" is not a valid path would you like to change it-完美解决方案
- 安装Cocoapods 使用pod指定提示 "pod: command not found"
- 当尝试从ArcCatalog、.net应用或是Java应用中连接ArcGIS Server 时,显示下面任何一种错误提示: "Access Denied" 或 "The connection could not be made"
- Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法
- 安装了ansys 后出现错误提示: could not create the file required to ......