OPERATING SYSTEMSOS Linux

Docker 2 – Run docker command without sudo in Ubuntu

We have installed docker, but it wont run without sudo command so far. Here we see what we can do to remove the sudo command from here.

The main commands used in the video are listed here:

groups
sudo usermod -aG ${USER}
exec su -l $USER
docker images

source

ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *