aboutsummaryrefslogtreecommitdiffhomepage
path: root/compare-image-size.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compare-image-size.sh')
-rwxr-xr-xcompare-image-size.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/compare-image-size.sh b/compare-image-size.sh
new file mode 100755
index 0000000..9c7c5cd
--- /dev/null
+++ b/compare-image-size.sh
@@ -0,0 +1,21 @@
1#!/bin/bash
2
3
4declare -a IMAGES=( 'ansible/ubuntu14.04-ansible:stable' 'ansible/centos7-ansible:stable' \
5 "williamyeh/ansible:debian8-onbuild" \
6 "williamyeh/ansible:debian7-onbuild" \
7 "williamyeh/ansible:ubuntu14.04-onbuild" \
8 "williamyeh/ansible:ubuntu12.04-onbuild" \
9 "williamyeh/ansible:centos7-onbuild" \
10 "williamyeh/ansible:centos6-onbuild"
11 )
12
13for image in "${IMAGES[@]}" ; do
14
15 echo $image
16 docker pull $image
17
18done
19
20
21docker images | sort \ No newline at end of file