DEV Community

Russell Jones
Russell Jones

Posted on

2

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!

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay