Sergio Slobodrian | ee4b2bc | 2017-06-05 10:08:59 -0400 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | # This script will push all the container images to a registry | ||||
4 | # named vinstall:5000 | ||||
5 | |||||
6 | registry="vinstall:5000" | ||||
7 | |||||
8 | for i in `cat image-list.cfg` | ||||
9 | do | ||||
10 | docker tag $i $registry/$i | ||||
11 | docker push $registry/$i | ||||
12 | docker rmi $registry/$i | ||||
13 | done | ||||
14 | |||||
15 |