GithubHelp home page GithubHelp logo

Comments (4)

alban avatar alban commented on September 26, 2024

/cc @josephschorr @jakedt

The same bug exists in the quay.io Docker image squasher. I uploaded my busybox-hardlinks Docker image into quay.io/alban/busybox-hardlinks and then downloaded a squashed image from the quay.io web interface (click on Fetch tag / Squashed Docker image). Then, the image also has a dangling hard link, so it cannot be extracted:

$ tar tvf /tmp/quay.io-alban-busybox-hardlinks-latest.squash.aci | grep LINK
hrw-r--r-- 0/0               0 2015-10-21 23:26 rootfs/LINK-Z link to rootfs/LINK-A
$ tar xf /tmp/quay.io-alban-busybox-hardlinks-latest.squash.aci
tar: rootfs/LINK-Z: Cannot hard link to ‘rootfs/LINK-A’: No such file or directory
$ sudo docker load < /tmp/quay.io-alban-busybox-hardlinks-latest.squash.aci
Error response from daemon: Untar re-exec error: exit status 1: output: link /rootfs/LINK-A /rootfs/LINK-Z: no such file or directory

from docker2aci.

josephschorr avatar josephschorr commented on September 26, 2024

@alban: I just tried this locally without any errors. I pulled the image from DockerHub, pushed to my local Quay, then squash pulled image. Do you have another repro case I can try?

from docker2aci.

alban avatar alban commented on September 26, 2024

@josephschorr : there is also the image https://hub.docker.com/r/zopyx/xmldirector-plone/ but given its size (854MB), it is easier to try with my image https://hub.docker.com/r/albanc/busybox-hardlinks/ (1MB). I could reproduce the issue just now. I think I mixed the explanation in my comment above between downloading the aci and the Docker squashed image. I can see the problem when using:

$ curl -L -f https://alban+squashedrobot:[email protected]/c1/squash/alban/busybox-hardlinks/latest 2>/dev/null | sudo docker load
Error response from daemon: ApplyLayer exit status 1 stdout:  stderr: link /LINK-A /LINK-Z: no such file or directory

from docker2aci.

josephschorr avatar josephschorr commented on September 26, 2024

Hmm, I tried that image. Will try again tomorrow.

from docker2aci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.