Skip to content
This repository was archived by the owner on Apr 12, 2022. It is now read-only.
This repository was archived by the owner on Apr 12, 2022. It is now read-only.

Permission denied on bin/es-docker if ran with user remapping #49

@jensdebruijn

Description

@jensdebruijn
  • docker info output:
    Containers: 85 Running: 0 Paused: 0 Stopped: 85 Images: 336 Server Version: 17.04.0-ce Storage Driver: aufs Root Dir: /var/lib/docker/1000.1000/aufs Backing Filesystem: extfs Dirs: 372 Dirperm1 Supported: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge host macvlan null overlay Swarm: inactive Runtimes: runc Default Runtime: runc Init Binary: containerd version: 422e31ce907fd9c3833a38d7b8fdd023e5a76e73 runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228 init version: 949e6fa Security Options: apparmor seccomp Profile: default userns Kernel Version: 4.8.0-46-generic Operating System: Ubuntu 16.04.2 LTS OSType: linux Architecture: x86_64 CPUs: 4 Total Memory: 31.33GiB Name: workBuntu ID: 5N25:YF6I:3CKB:YMIE:G4QQ:QYDD:PTVZ:TXP4:7YMH:IKR2:Q4XX:K4FO Docker Root Dir: /var/lib/docker/1000.1000 Debug Mode (client): false Debug Mode (server): false Registry: https://index.docker.io/v1/ Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false WARNING: No swap limit support

  • docker-compose version:
    docker-compose version 1.12.0, build b31ff33

  • Host OS and version:
    Ubuntu 16,04

Bug description

I am running elasticsearch with user remapping for docker as such:

https://blog.yadutaf.fr/2016/04/14/docker-for-your-users-introducing-user-namespace/

Running the image with docker-compose gives me the following error:

/bin/bash: bin/es-docker: Permission denied
elasticsearch exited with code 126

Metadata

Metadata

Assignees

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