Last active
October 21, 2022 11:22
-
-
Save breun/74995a48778b6402272e125ea49414af to your computer and use it in GitHub Desktop.
Repulls all your Docker images, updating them to the latest state
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
# Get output from 'docker images', skip the header line, print '{image_name}:{image_tag}' and feed each image as an argument to 'docker pull' | |
docker images | tail -n +2 | awk '{ print $1":"$2 }' | xargs -L 1 docker pull |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment