diff options
Diffstat (limited to 'cmd/podman/pull.go')
-rw-r--r-- | cmd/podman/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/pull.go b/cmd/podman/pull.go index 431c1e0ed..d8fcf05c2 100644 --- a/cmd/podman/pull.go +++ b/cmd/podman/pull.go @@ -111,7 +111,7 @@ func pullCmd(c *cli.Context) error { } // Possible for docker-archive to have multiple tags, so use NewFromLoad instead - if strings.Contains(image, libpod.DockerArchive) { + if strings.HasPrefix(image, libpod.DockerArchive+":") { newImage, err := runtime.ImageRuntime().LoadFromArchive(getContext(), image, c.String("signature-policy"), writer) if err != nil { return errors.Wrapf(err, "error pulling image from %q", image) |