xpipe icon indicating copy to clipboard operation
xpipe copied to clipboard

Rootless Docker

Open structwafel opened this issue 1 year ago • 3 comments

:heart: Super nice program :heart:

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

structwafel avatar Feb 07 '24 17:02 structwafel

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

crschnick avatar Feb 07 '24 23:02 crschnick

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.

structwafel avatar Feb 07 '24 23:02 structwafel

Alright thanks for the link, that should be doable

crschnick avatar Feb 07 '24 23:02 crschnick

This is now implemented in xpipe 10

crschnick avatar Jun 29 '24 16:06 crschnick