普通用户使用docker 命令报
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.24/containers/json": dial unix /var/run/docker.sock: connect: permission denied
sudo groupadd docker #添加docker用户组
#将用户添加到docker用户组
sudo usermod -aG docker ${USER}
# 更新用户组
newgrp docker