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
Skopeo support for BigFilesTemporaryDir (SystemContext) #805
Comments
It might be easy to put it right here: Line 128 in 4489ddd
and Line 147 in 4489ddd
and I might take a try at it. |
We are using this on Buildah now, but we should expose this or at least allow the setting of TMPDIR to modify the setting. |
malaiwah
added a commit
to malaiwah/skopeo
that referenced
this issue
Jan 29, 2020
Enhancement request: containers#805
malaiwah
added a commit
to malaiwah/skopeo
that referenced
this issue
Jan 29, 2020
Enhancement request: containers#805
rhatdan
added a commit
to rhatdan/skopeo
that referenced
this issue
Mar 28, 2020
Enhancement request: containers#805 Also sorted commands and options on skopeo man page and skopeo --help Originally submitted by Michel Belleau <michel.belleau@malaiwah.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/skopeo
that referenced
this issue
Mar 29, 2020
Enhancement request: containers#805 Also sorted commands and options on skopeo man page and skopeo --help Originally submitted by Michel Belleau <michel.belleau@malaiwah.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/skopeo
that referenced
this issue
Mar 29, 2020
Enhancement request: containers#805 Also sorted commands and options on skopeo man page and skopeo --help Originally submitted by Michel Belleau <michel.belleau@malaiwah.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
#868 was merged. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using Skopeo to export docker-daemon images to docker-archive format and I find the tool really useful but it seems there is no way to define the temporary directory (it does not honour the TMPDIR environment variable) for the temporary copies made. It defaults to /var/tmp, which on the systems I use is quite tight.
There is a way to instruct containers/image to use a different folder for temporary files, but the option is not exposed thru the skopeo cli with an --option. The SystemContext field is called BigFilesTemporaryDir .
Here is where it is set for its default: https://github.com/containers/image/blob/de5ad242e515688f69225ca6d897cfb221e0f5c7/internal/tmpdir/tmpdir.go#L18
Here is where the copy operation fails on my system: https://github.com/containers/image/blob/d13a90f787a7d3cd58e6f13c7cd1f2307b74a1ef/docker/tarfile/dest.go#L110
Here is the pull request for BigFilesTemporaryDir: containers/image#747
The text was updated successfully, but these errors were encountered: