New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
whiteout files present in singularity but not in docker container #884
Comments
Did you try the singularity commands using sudo? It could be permissions on pull / run (as Docker has write permissions). I'm not familiar with whiteout files - could you talk a bit about how/why they exist? For the longest time I thought those were python wheels :) |
I just tried with sudo and they indeed persist, I wonder why this happens? Do you think it would be appropriate for singularity to do a sweep of a container, always, and remove?
|
I know very little about whiteout files, but they seem to be part of the overlay filesystem. I found these resources (linux kernel docs and opencontainers layer spec) useful. Here is a quote from opencontainers:
So I am not sure whether it is safe to remove these files. I will try to dig into the docker source to see what they do with the opaque whiteout files. For what it's worth, the directories that contain whiteout files in singularity are present when running with docker (ie the directories+files are not hidden). |
ok, thanks for looking into this! It's definitely a big issue for some of our users. |
I just run into this with 2.4. Looking forward to the fix! |
@chrisfilo see the PR I linked - if you have some bandwidth please give it a try and report back! Travis is having network issues for pulling docker images, but the local testing is far more important for this change. |
Has this issue been resolved by #1181? |
Closing this as PRs fixing whiteout issues have been merged to development. Let us know if there are any remaining problems. Thanks! |
Version of Singularity:
Expected behavior
Consistency in presence of whiteout files between Docker and Singularity.
Actual behavior
Whiteout files (e.g. ,
.wh..wh..opq
) are present in the Singularity container (pulled from DockerHub) but not in the Docker container.Steps to reproduce behavior
Singularity
Docker
related to #571
The text was updated successfully, but these errors were encountered: