This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 222
setcap fails on aufs systems #19
Comments
After a little more research, it looks like this applies to AUFS storage drivers, I'm not having the same problem on systems with the Overlay driver. See this closed/won't fix issue from Docker for more details. |
@bmitch3020 If you can build the container locally, can you try this on AUFS with setting the |
("this" = "current code" :-) ) |
Just curious why this suddenly stopped work ing 0.6.4? Works fine in 0.6.2. |
mperochon
pushed a commit
to Polyconseil/kubespray
that referenced
this issue
Jun 1, 2017
mperochon
pushed a commit
to Polyconseil/kubespray
that referenced
this issue
Jun 8, 2017
ncabatoff
added a commit
to ncabatoff/vault-experiments
that referenced
this issue
Apr 11, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The setcap command itself fails on some systems. I'm seeing this when trying to run a shell as the command (without changing the entrypoint) in 0.6.4):
I'm even seeing this when I pass
--cap-add IPC_LOCK
to the run command, running on kernel 3.16.0-4-amd64 (Debian), OS filesystems are ext4 and using the docker storage driver is aufs. Spinning up the container with a shell as my entrypoint, I can also see:Since the entrypoint starts with a
set -e
, I believe the script will immediately error out on the first setcap command even if PR#18 is included. Best solution may be to wrap that section of code with an if check, but I haven't had a chance to test this:The text was updated successfully, but these errors were encountered: