mirror of
https://github.com/containers/podman.git
synced 2025-11-03 07:47:19 +08:00
vendor in containers/(common,buildah,storage,image)
Changes as of 2022-04-21: - apply-podman-deltas: minor cleanup - buildah-tests.diff: deal with: . buildah #3894 (the registry one), which affected helpers.bash in a way that resulted in conflicts here; and . buildah #3917 (etchosts), which caused offset-only diffs with no conflicts - Reevaluate the bud skip list, and reenable some tests that seems to be passing now under podman: . bud with specified context ... . two tests that require a local registry (which buildah now runs) . bud with --cgroup-parent Signed-off-by: Ed Santiago <santiago@redhat.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
8
vendor/github.com/containers/buildah/pull.go
generated
vendored
8
vendor/github.com/containers/buildah/pull.go
generated
vendored
@ -75,6 +75,14 @@ func Pull(ctx context.Context, imageName string, options PullOptions) (imageID s
|
||||
return "", err
|
||||
}
|
||||
|
||||
// Note: It is important to do this before we pull any images/create containers.
|
||||
// The default backend detection logic needs an empty store to correctly detect
|
||||
// that we can use netavark, if the store was not empty it will use CNI to not break existing installs.
|
||||
_, err = getNetworkInterface(options.Store, "", "")
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
runtime, err := libimage.RuntimeFromStore(options.Store, &libimage.RuntimeOptions{SystemContext: options.SystemContext})
|
||||
if err != nil {
|
||||
return "", err
|
||||
|
||||
Reference in New Issue
Block a user