Skip to content

Permissions to set on /var/run/docker.sock with user namespace (userns-remap) isolation? #14

Description

@C-Duv

i get the following errors wheen running Chadburn (via Docker Compose) on a Docker host where user namespace isolation is enabled ("userns-remap": "default" in /etc/docker/daemon.json file):

daemon.go:46 ▶ CRITICAL Can't start the app: Get "http://unix.sock/info": dial unix /var/run/docker.sock: connect: permission denied

I tried adding permissions to /var/run/docker.sock with setfacl without success (still getting the same errors), getfacl -R /var/run/docker.sock returns:

getfacl: Removing leading '/' from absolute path names
# file: var/run/docker.sock
# owner: root
# group: docker
user::rw-
user:dockremap:rwx
group::rw-
mask::rwx
other::---

Is Chadburn compatible with user namespace isolation?

PS: Also tested with Ofelia : same result (mcuadros/ofelia#176)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions