1. 将当前用户加入docker组 $ sudo usermod -a -G docker <当前用户名> 2. 修改/var/run/docker.sock的权限 $ sudo chmod 666 /var/run/docker.sock 相关文章: