summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLes Aker <me@lesaker.org>2020-04-23 16:07:37 -0400
committerLes Aker <me@lesaker.org>2020-04-23 16:15:55 -0400
commit2c328f94b61116bfa7d1d46525d854678f94c9f3 (patch)
tree98cf8d4208e2ba1751144deb918d6e4f1267ea77
parent802763c6042e1c9a812f4300c3c717630564c8bc (diff)
downloadpodman-2c328f94b61116bfa7d1d46525d854678f94c9f3.tar.gz
podman-2c328f94b61116bfa7d1d46525d854678f94c9f3.tar.bz2
podman-2c328f94b61116bfa7d1d46525d854678f94c9f3.zip
set bigfilestemporarydir for pull
Signed-off-by: Les Aker <me@lesaker.org>
-rw-r--r--libpod/image/docker_registry_options.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/image/docker_registry_options.go b/libpod/image/docker_registry_options.go
index 62a4af465..cd9b8d5d8 100644
--- a/libpod/image/docker_registry_options.go
+++ b/libpod/image/docker_registry_options.go
@@ -6,6 +6,7 @@ import (
"github.com/containers/image/v5/docker/reference"
"github.com/containers/image/v5/types"
+ "github.com/containers/buildah/pkg/parse"
podmanVersion "github.com/containers/libpod/version"
)
@@ -41,6 +42,7 @@ func (o DockerRegistryOptions) GetSystemContext(parent *types.SystemContext, add
DockerArchiveAdditionalTags: additionalDockerArchiveTags,
OSChoice: o.OSChoice,
ArchitectureChoice: o.ArchitectureChoice,
+ BigFilesTemporaryDir: parse.GetTempDir(),
}
if parent != nil {
sc.SignaturePolicyPath = parent.SignaturePolicyPath