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

Comments

    No comments found for this note.

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

    Tags


    Notes mentioning this note


    Notes Graph