sudo groupadd docker  # 添加group

sudo gpasswd -a think docker  # 添加用户到组

sudo service docker restart

newgrp docker # 更新用户组

相关文章: