Skip to content

Standalone debug containers not working when Docker daemon has "userns-remap" enabled #706

Closed
@schmunk42

Description

@schmunk42

Meta -

Image(s):
Tested with standalone-firefox-debug

Docker-Selenium Image Version(s):
2.53.1, 3.11.0

Docker Version:
18.02.0-ce

OS:
Arch Linux (Antergos)

Expected Behavior -

Enable userns-remap on the daemon, Selenium container should run normally; not affected by https://docs.docker.com/engine/security/userns-remap/#user-namespace-known-limitations

Actual Behavior -

  • VNC connections are broken (password check failed)
  • Firefox can't open profile files

At least the broken VNC can be hotfixed by exec'ing into the container and give permissions of the password file to seluser,

Related:

Workaround:

  • use userns_mode: host with docker-compose (for Selenium v3.*)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions