"Error relabeling merged directory: operation not supported" when building docker inside docker #1301
Comments
cc @mjg59 |
Hm. I'm going to need to look at the behaviour of upstream Docker in this case - when running inside a confined selinux context, we don't want Docker to attempt to change to a new context. |
Rebase overlay+SELinux fixes onto 1.10.3
I was receiving the same error trying to build a modified Alpine docker image in CoreOS v1010.5.0 running inside Vagrant/Virtualbox. which seems to indicate it is not a Docker-inside-Docker container problem. I was able to solve the error by running the docker build command using sudo. |
I got this error when i mixed up pulling from docker hub automated build and self build images. update: also got the error when i was trying to build an image with label "latest" but still had an container running using the same imagename with the label "latest" so i had to |
Fixed by coreos/coreos-overlay#2006. |
I came across this error and I'm not sure how to fix it.
For the record, the faulty commit seems to be coreos/docker@8acee1b and I was pointed there by moby/moby#22548.
I'm trying to build a docker image from within a docker container to which I mounted the host's docker binay and socket.
We're using:
and
Docker version 1.10.3, build 8acee1b
Similar to what the user described on the linked issue, this is what I'm getting:
The parameter -p is irrelevant, I get the same error with or without it. Any advice?
The text was updated successfully, but these errors were encountered: