Skip to content

Need some help with: can't access docker socket as UID 1000 #16

@ovizii

Description

@ovizii

I'm not sure if I get the problem here. In my compose for the docker-socket-proxy I set:

user: "1000:1000"

The user with the ID of 1000 is ovi and it is in teh docker group:

▒ id ovi
uid=1000(ovi) gid=1000(family) groups=1000(family),990(docker)

Permissions on the docker socket (untouched by me):

▒ ls -aln /run/docker*
-rw-r--r-- 1 0   0   7 Dec  6 22:18 /run/docker.pid
srw-rw---- 1 0 990   0 Nov 28 18:47 /run/docker.sock

And yet the container gives me this error. Did I misunderstand how to use it?


▒ docker compose logs -f socket-proxy
socket-proxy  | {"time":"2025-12-06T22:25:07.276Z","type":"INF","msg":"starting socket-proxy v2.1.6"}
socket-proxy  | {"time":"2025-12-06T22:25:07.278Z","type":"ERR","msg":"can▒t access docker socket as UID 1000 owned by UID 0. Please change the user setting in your compose to the correct UID/GID pair like this >> user: 0:990"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions