centos7普通用户使用docker

1:将普通用户加入docker组

gpasswd -a $USER docker

2:刷新docker组

newgrp docker

3:重启docker

systemctl restart docker

你可能感兴趣的:(docker,栏)