Description of problem:
I'm using docker-python to get whole content of an image.
In : d = docker.APIClient()
In : c = d.create_container("registry.fedoraproject.org/fedora-minimal:26")
In : a = d.get_archive(c, "/")
In : d.remove_container(c, force=True)
On step 4, the execution is halted and default timeout, 60 seconds, is reached. No matter what I do, but after calling .get_archive, every subsequent API call is frozen.
Version-Release number of selected component (if applicable):
On the other hand, `docker cp` works just fine.
I can see these errors in the log:
level=error msg="Can't add file /var/lib/docker/overlay2/b320d58466a25484eda56c97eed0eb489ef8394b813306c363e4ef5b39eb84c8/merged/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt to tar: io: read/write on closed pipe"
level=error msg="Can't close tar writer: io: read/write on closed pipe"
level=error msg="Handler for GET /v1.35/containers/a761c6235167427928305c5f4d28aa11ba75d97f5ff29949bb0a59ffdc9e7071/archive returned error: write unix /var/run/docker.sock->@: write: broken pipe"
level=error msg="Handler for GET /v1.35/containers/a761c6235167427928305c5f4d28aa11ba75d97f5ff29949bb0a59ffdc9e7071/archive returned error: error creating overlay mount to /var/lib/docker/overlay2/b320d58466a25484eda56c97eed0eb489ef8394b813306c363e4ef5b39eb84c8/merged: no such file or directory"
Hm, I can't reproduce. I tried an older version of docker but it worked for me. The version I tried is docker-1.13.1-49.git4032bd5.fc29
Actually my colleague run into this today, I'll get in touch with him.
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 29 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.