问答

当前位置
  • 首页
  • 问答
  • Got permission denied while trying to connect to the Docker daemon socket at unix

Got permission denied while trying to connect to the Docker daemon socket at unix

  • Ta: 胡助教

此问题来源于微课:大数据实战班教程
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json: dial unix /var/run/docker.sock: connect: permission denied

Instead of showing the containers, I got this error message when I type docker ps.

1 个回复

2019-09-09 胡助教

使用sudo获取管理员权限,运行docker命令

我来回答

您没有权限

为提高问答质量,问答版块发言权限只向九章学员开放

登录 注册

© Jiu Zhang 2013-. All rights reserved. 京ICP备16004690号-1