Featured image of post Docker Post-installation steps for Linux

Docker Post-installation steps for Linux

The following commands are required for Docker post-installation to allow the execution of Docker commands without using sudo

The following commands are required for Docker post-installation to allow the execution of Docker commands without using sudo:

1
2
3
4
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
sudo reboot

After the host reboots, you should be able to run commands such as docker ps or docker run without sudo.

Licensed under CC BY-NC-SA 4.0
Last updated on Aug 12, 2024
Built with Hugo
Theme Stack designed by Jimmy