Last active
August 17, 2019 14:36
-
-
Save mercuriete/c5585b4cd290efcc4b707b27b799d36d to your computer and use it in GitHub Desktop.
one line script for pull all docker images
This file contains 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 | |
#pulls all docker images you have locally | |
docker images | tr -s ' ' | cut -d " " -f 1,2 | tr ' ' ':' | tail -n +2 | grep -v none | xargs -L1 docker pull |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/rogervila/97360be2339e23afe568e85f49358023