mirror of
https://github.com/containers/podman.git
synced 2025-06-22 01:48:54 +08:00
create: propagate override-arch and override-os
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -180,8 +180,10 @@ func pullImage(imageName string) error {
|
||||
return errors.New("unable to find a name and tag match for busybox in repotags: no such image")
|
||||
}
|
||||
_, pullErr := registry.ImageEngine().Pull(registry.GetContext(), imageName, entities.ImagePullOptions{
|
||||
Authfile: cliVals.Authfile,
|
||||
Quiet: cliVals.Quiet,
|
||||
Authfile: cliVals.Authfile,
|
||||
Quiet: cliVals.Quiet,
|
||||
OverrideArch: cliVals.OverrideArch,
|
||||
OverrideOS: cliVals.OverrideOS,
|
||||
})
|
||||
if pullErr != nil {
|
||||
return pullErr
|
||||
|
Reference in New Issue
Block a user