Ver código fonte

Remove tags only instead of images

Mike Dillon 10 anos atrás
pai
commit
d61a3125fd
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      test/clean.sh

+ 1 - 1
test/clean.sh

@@ -1,4 +1,4 @@
 #!/bin/bash
 set -e
 
-docker images -q 'librarytest/*' | xargs docker rmi -f
+docker images 'librarytest/*' | awk 'NR>1 { print $1":"$2 }' | xargs -r docker rmi