解决docker错误

错误表现

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock

参考文献
https://www.digitalocean.com/community/questions/how-to-fix-docker-got-permission-denied-while-trying-to-connect-to-the-docker-daemon-socket

核心命令

sudo chmod 666 /var/run/docker.sock
posted @ 2021-05-05 14:32  qiangges2017  阅读(60)  评论(0编辑  收藏  举报