Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
overlayfs whiteout files appearing within container #1097
Running CoreOS stable (835.11.0), fresh install, ext4+overlayfs not btrfs.
installing a python package as part of an build builds results in "OSError: [Errno 2] No such file or directory" during the install process:
that filename can be seen from the directory listing, but cannot be read or statted directly:
Looking at that directory on the container layer directly on the host, the files exist and are overlayfs whiteout files:
I can reproduce this consistently by building this Dockerfile, and have reproduced it on two different hosts (both 835.11.0).
And the same with an equivalent ubuntu version:
I've not narrowed it down any further yet.
If I run the commands all in one shot, so that intermediary images are not created, the build succeeds without error:
this works too, which creates one intermediary after apt-get update:
However, this does not work: