linux create and assign permissions docker

1. Create an account
the useradd the userName} {$
2. Change Password
the passwd the userName $ {}
3. Create group docker
the groupadd docker
4. Add docker user group
the usermod docker -AG the userName} {$
5. The Restart Service docker
systemctl restart docker

Guess you like

Origin www.cnblogs.com/fengqu/p/11592436.html