Browse Source

Remove tags only instead of images

Mike Dillon 10 năm trước cách đây
mục cha
commit
d61a3125fd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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