Skip to content

Instantly share code, notes, and snippets.

@the-redback
Created March 1, 2018 05:01
Show Gist options
  • Save the-redback/015bb812870d78c907c4811cebbc3d66 to your computer and use it in GitHub Desktop.
Save the-redback/015bb812870d78c907c4811cebbc3d66 to your computer and use it in GitHub Desktop.
Pull Down all Docker Images of a Organization
#!/bin/bash
set -eou pipefail
# ${1} = <organization-name>
docker search ${1} | grep -o -E '^[[:alnum:]]+/[^[:blank:]]+' | xargs -L 1 -P 1 docker pull -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment