docker拉取MySQL镜像,提示无法连接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:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/images/search?limit=25&term=mysql: dial unix /var/run/docker.sock: connect: permission denied
解决方法:
命令行记得加上sudo
怕什么真理无穷,进一寸有一寸的欢喜!