Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rootless Docker #188

Open
LGXerxes opened this issue Feb 7, 2024 · 3 comments
Open

Rootless Docker #188

LGXerxes opened this issue Feb 7, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@LGXerxes
Copy link

LGXerxes commented Feb 7, 2024

❤️ Super nice program ❤️

Reading the release notes I saw that you had encountered permissions issues on the docker socket.

But it seems to only try this on unix:///var/run/docker.sock, whereas if you install docker with rootless the docker socket is usually located at: unix:///run/user/{UID}/docker.sock

Perhaps I'm compleatly wrong, but as far as a I see it doesn't recognize docker containers which are not the "sudo docker" or default DOCKER_SOCKET.

Would be nice if you could set which docker socket should be used.

image
container ran with sudo docker ^

user docker has 10 containers up

@crschnick
Copy link
Contributor

crschnick commented Feb 7, 2024

I'm not super familiar with rootless docker setups, but if XPipe would respect the DOCKER_SOCKET variable, this issue would be fixed?

@crschnick crschnick added the bug Something isn't working label Feb 7, 2024
@LGXerxes
Copy link
Author

LGXerxes commented Feb 7, 2024

I'm not super familiar with rootless docker setups, but if XPipe would respect the DOCKER_SOCKET variable, this issue would be fixed?

The convention from the docker manual is to export DOCKER_HOST.
I haven't seen DOCKER_SOCKET being used as an environment variable.

@crschnick
Copy link
Contributor

Alright thanks for the link, that should be doable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants