Menu
New posts
Home
Latest activity
Log in
Register
What's new
Search
Search
Search titles only
By:
Latest activity
Register
Menu
Log in
Register
Operating System
Linux
Debian
11
Docker
Install docker and docker-compose
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
<p>[QUOTE="uuuuuuuuuuuuuuser, post: 32"]</p><p>when:</p><p>Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock:</p><p></p><p></p><p>[CODE=bash]</p><p> 1.Create the docker group if it does not exist</p><p></p><p>$ sudo groupadd docker</p><p></p><p> 2.Add your user to the docker group.</p><p></p><p>$ sudo usermod -aG docker $USER</p><p></p><p> 3.Run the following command or Logout and login again and run (that doesnt work you may need to reboot your machine first)</p><p></p><p>$ newgrp docker</p><p></p><p> 4.Check if docker can be run without root</p><p></p><p>$ docker ps[/CODE]</p><p></p><p><em>thanks mkb</em></p><p>[/QUOTE]</p>
[QUOTE="uuuuuuuuuuuuuuser, post: 32"] when: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: [CODE=bash] 1.Create the docker group if it does not exist $ sudo groupadd docker 2.Add your user to the docker group. $ sudo usermod -aG docker $USER 3.Run the following command or Logout and login again and run (that doesnt work you may need to reboot your machine first) $ newgrp docker 4.Check if docker can be run without root $ docker ps[/CODE] [I]thanks mkb[/I] [/QUOTE]
Preview
Name
Post reply
Operating System
Linux
Debian
11
Docker
Install docker and docker-compose
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top