Skip to content

Unable to run Docker Daemon in the dind-rootless image  #245

@wwpete

Description

@wwpete

I think there's an issue with the dind-rootless image.

Pulling and running the container:
docker run -it docker:dind-rootless /bin/sh

Then running dockerd returns:

INFO[2020-07-17T20:50:32.355617100Z] Starting up dockerd needs to be started with root. To see how to run dockerd in rootless mode with unprivileged user, see the documentation

According to the documentation here (which I assume is the documentation in question):
dockerd-rootless.sh --experimental

returns:
/bin/sh: dockerd-rootless.sh: not found

I'm not able to find a single example online that can show me how to start Docker daemon in a Docker container while being rootless (no --privileged flag)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions