-
Notifications
You must be signed in to change notification settings - Fork 122
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
Docker "0c6d765c54" upgrade: image build problem: "Directory renamed before its status could be extracted" #1219
Comments
Is there any way to provide a way to reproduce this? It may be an |
@mfeblowitz could you please provide a diagnostic ID so that we can investigate your issue? Thanks! (see https://docs.docker.com/docker-for-mac/troubleshoot/#/diagnose-problems-send-feedback-and-create-github-issues) |
I'm under a time crunch. I'll try the upgrade again when I get a chance and will send the diagnostics. |
Ok - I upgraded again and again saw the behavior. Diagnostic ID is 213C8854-B875-4328-A46E-2DD06B6B7E59 All diagnostic tests reported [OK]. Here's the unaltered listing of 2 files untarred ok (there were many) and then the error message lines:
As stated above, the referenced wget command works fine in the prior Docker version. As far as replicating, I think that will be difficult. The total number of files being untarred is 62810, and the errors start at the 15,212th file (!). I tried with {"storage-driver":"aufs"} as recommended. It took a very long time to restart. And it appears to have erased all of my images' layers. But it did solve the problem. What are the tradeoffs of using aufs vs the overlay filesystem? Should I stay with this or use until the problem is repaired? |
Unfortunately I think you hit moby/moby#19647 Usually overlay2 is much more stable than aufs (hence we use it by default in Docker for Mac) but it seems that you have hit one of its few bugs. You should subscribe to the upstream ticket if you are interested about the resolution on that bug, meanwhile you should be able to continue working with aufs. Thanks again for your report! |
I've encountered this as well with (Other failures I have seen recently, which are likely the same root cause, have been link failure with the curl library and malformed .zip files, all pointing at file system corruption.) |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
/remove-lifecycle stale |
/lifecycle frozen |
When I try the workaround given above, namely adding {"storage-driver":"aufs"}, I find that Docker 2.0.0.3 on Mac will not start (there's an error about graphdriver). And indeed the docs suggest that you can't actually change storage driver on a Mac. Has anyone got this to work specifically on a Mac? What v. of Docker? |
Expected behavior
Docker image creation would complete successfully when executing:
RUN wget -q -O- $xyzPackage | tar -xz -C / --owner=user1 --group=user1
Actual behavior
Several reports like:
Information
The second thing to go wrong after upgrading to
version 1.13.0, 2017-01-19, Channel: stable)
(I think) - definitely had hashcode: 0c6d765c54. (First thing was corrupt Data directory: I already reported that.)Tried this:
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: