This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # This script gets a list of all docker images from a docker registry v1 | |
| # and pulls each image. Set the DOCKER_REGISTRY_NO_HTTP variable below. | |
| # You may need to run `docker pull` command with `sudo`. | |
| # If you want to use it seeing the output in terminal and saving the output to file: | |
| # pull_images_from_v1.sh 2>&1 | tee ~/pull_output.txt | |
| DOCKER_REGISTRY_NO_HTTP="TODO!!" | |
| DOCKER_REGISTRY="http://${DOCKER_REGISTRY_NO_HTTP}" |