Using default tag: latest Got permission denied while trying to connect to the Docker daemon 。。。
执行命令:docker pull ubuntu错误信息:Using default tag: latest Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v
·
执行以下命令时:
docker pull ubuntu
报以下错误信息:
Using default tag: latest Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/images/create?fromImage=ubuntu&tag=latest: dial unix /var/run/docker.sock: con
解决办法:
增加sudo命令,例如:
sudo docker pull ubuntu
更多推荐
已为社区贡献4条内容
所有评论(0)