Created
March 19, 2021 07:35
-
-
Save Jackadminx/593fa01287061b4a7372a5784fb86be5 to your computer and use it in GitHub Desktop.
解决docker非root用户没有权限
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gpasswd -a xxx docker #将xxx用户添加至docker用户组 | |
newgrp docker #更新docker用户组 | |
systemctl restart docker #重启docker服务 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment