Skip to content

Instantly share code, notes, and snippets.

@tianon
Last active January 5, 2016 08:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tianon/87de734e308da031fb46 to your computer and use it in GitHub Desktop.
Save tianon/87de734e308da031fb46 to your computer and use it in GitHub Desktop.
"docker pull" all official images
#!/bin/bash
set -e
dir="$(mktemp -d)"
trap "rm -rf '$dir'" EXIT
git clone --depth 1 https://github.com/docker-library/official-images.git "$dir"
"$dir/bashbrew/bashbrew.sh" list --all | xargs -rtn1 docker pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment