0

Is it possible to run Docker as a non-root user?

Asked 4 years ago (Jun 02, 2021) in the field of Operating Systems by Evelyn Sakoal

Hi , can i run Docker as a non-root user while installing KeeWeb on Ubuntu?


Answers


0
Answered 4 years ago (Jun 03, 2021) by Eldernode Staff

 If you want to run Docker as a non-root user, you must add your account to the Docker group. So to do this you simply need to execute the following commands:

sudo usermod -aG docker $USER
sudo chmod 666 /var/run/docker.sock

Restart your system to apply the changes:

sudo systemctl restart docker

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day