安装Dock服务,主要命令是  yum install docker。

但是在启动的时候报错:warning msg="could not change group /var/run/docker.sock to docker: group docker not found"

错误截图如下:

安装Docker时错误提示 "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时错误提示 "could not change group /var/run/docker.sock to docker: group docker not found"的解决方案

验证:设置后再次启动docker.service,没有报错,验证状态OK。

安装Docker时错误提示 "could not change group /var/run/docker.sock to docker: group docker not found"的解决方案

 

不要忘记配置自启动 systemctl enable docker

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
猜你喜欢
  • 2022-12-23
  • 2021-07-20
  • 2021-07-21
  • 2022-12-23
  • 2021-07-02
  • 2022-12-23
  • 2022-02-21
相关资源
相似解决方案