Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 359 Bytes

File metadata and controls

34 lines (23 loc) · 359 Bytes

Docker without Sudo

How to enable running docker commands without sudo


  1. Create group
sudo groupadd docker

2. Add user to group
sudo usermod -aG docker your_username

3. Refresh session (logout or use following command)
newgrp docker

4. Test running docker command
docker run hello-world