From 6f1dd44b29be4a3046c3bcd5d4d44f7acc5f88fc Mon Sep 17 00:00:00 2001 From: baude Date: Thu, 12 Jul 2018 13:44:26 -0500 Subject: fix pull image that includes a sha when pulling an image that includes a sha such as: centos/nginx-112-centos7@sha256:42330f7f29ba1ad67819f4ff3ae2472f62de13a827a74736a5098728462212e7 the final image name in libpod should not contain portions of the sha itself nor the sha identifier. and like docker, we provide a 'none' tag as well. this should fix #877 Signed-off-by: baude Closes: #1085 Approved by: mheon --- test/e2e/pull_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/e2e/pull_test.go b/test/e2e/pull_test.go index bb2d0c3a0..36c0936cb 100644 --- a/test/e2e/pull_test.go +++ b/test/e2e/pull_test.go @@ -74,7 +74,7 @@ var _ = Describe("Podman pull", func() { session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - session = podmanTest.Podman([]string{"rmi", "alpine:latest"}) + session = podmanTest.Podman([]string{"rmi", "alpine:none"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) }) -- cgit v1.2.3-54-g00ecf