Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
"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
You can’t perform that action at this time.