question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docker_ps and root permissions

See original GitHub issue
Q A
Version master@94427ea

Support Question

Am I missing something or the docker_ps module is fully functional only if the current (non-root) user has the rights to invoke docker? I tried to ping the docker daemon from the python shell and I get

requests.exceptions.ConnectionError: ('Connection aborted.', error(13, 'Permission denied'))

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
gipertcommented, May 15, 2019

Now I realized where I could have broke it, it happend some days ago when I updated my fork and fixed some conflicts, let me debug it and I’ll surely find the problem. I’ll close this, thank you for your support and sorry for spamming!

0reactions
tobi-wan-kenobicommented, May 16, 2019

Glad your issue is solved!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker Engine post-installation steps
To run Docker without root privileges, see Run the Docker daemon as a non-root user (Rootless mode). To create the docker group and...
Read more >
Root User and Password Inside a Docker Container - Baeldung
First, we'll learn to access the Docker container using a root user to get some extra privileges. We'll also discuss setting up passwords ......
Read more >
Docker containers: should be run as root? - Neoteric
Going forward, when we run docker, it requires root privileges. The docker process runs the docker container process. That process inherits the ...
Read more >
Stop Running Docker Containers as Root - LinkedIn
The best way to prevent privilege-escalation attacks from within a container is to configure your container's applications to run as ...
Read more >
How to Fix Docker Permission Denied? - phoenixNAP
The privileged mode in Docker provides containers with root privileges for all devices on the host system. Running a privileged container should ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found