DEV Community

Russell Jones
Russell Jones

Posted on

Run Docker without sudo

Unsure how to run docker commands without "permission denied"?

Instructions:

  1. sudo nano /etc/group
  2. add your username to docker group, eg) docker❌999:russell
  3. Save (Ctrl-X, Y, )
  4. Logout/login or reboot

Top comments (2)

Collapse
 
azlan_syed profile image
Azlan-Syed

uh can't we use the root user ?

Collapse
 
jonesrussell profile image
Russell Jones

use whatever you want!