1
sudo chmod 666 /var/run/docker.sock

比较粗暴但是省时间。

我个人认为调整docker组也可以,而且更可控。但~whatever,简单就可以

参考链接

官网解决方案