Ubuntu - Use Docker Commands Without Sudo

Here I describe how to run Docker commands without sudo.

I run the following on the CLI of my Ubuntu VM.

sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker

After the VM is restarted, Docker can be used without sudo.

Read other notes


    No comments found for this note.

    Join the discussion for this note on this ticket. Comments appear on this page instantly.


    Notes mentioning this note

    Notes Graph