Docker Post-installation steps for Linux
![](https://www.elasticourse.com/images/docker_codeception-07_hu045bf0c2783f06bf5c6fec3cfced9f59_139979_1500x0_resize_q80_h2_box.webp)
The following commands are required for Docker post-installation to allow the execution of Docker commands without using sudo:
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.