Back
Featured image of post docker Got permission denied错误解决

docker Got permission denied错误解决

当出现Got permission denied错误时,是 docker 用户权限没有配置。你需要把普通用户加入 docker 用户组。

sudo groupadd docker
sudo usermod -aG docker $USER

之后重启就可以解决了。

Licensed under CC BY-SA 4.0
comments powered by Disqus