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
Tags
Notes mentioning this note
- Docker - How to Check Container Overview and Logs
Here I describe how to run containers and how to consult the logs.
- Linux CLI - Manually Update Docker Containers
Here I describe how to update Docker Containers via the CLI.
Comments
No comments found for this note.
Join the discussion for this note on this ticket. Comments appear on this page instantly.