Ver Fonte

Merge pull request #29275 from cpuguy83/set_inspect_type_emptyfs

Set inspect type in ensure-emptyfs
Vincent Demeester há 8 anos atrás
pai
commit
f2533c0266
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      hack/make/.ensure-emptyfs

+ 1 - 1
hack/make/.ensure-emptyfs

@@ -1,7 +1,7 @@
 #!/bin/bash
 #!/bin/bash
 set -e
 set -e
 
 
-if ! docker inspect emptyfs &> /dev/null; then
+if ! docker inspect -t image emptyfs &> /dev/null; then
 	# let's build a "docker save" tarball for "emptyfs"
 	# let's build a "docker save" tarball for "emptyfs"
 	# see https://github.com/docker/docker/pull/5262
 	# see https://github.com/docker/docker/pull/5262
 	# and also https://github.com/docker/docker/issues/4242
 	# and also https://github.com/docker/docker/issues/4242