Issue
Is there a command to update (pull) all the downloaded Docker images at once in the terminal ?
id='dv4'>
Solution
No, there is no built-in command to pull
all docker images
at once.
But you can try this (multiline) bash using docker --format
:
for image in $(docker images --format "{{.Repository}}:{{.Tag}}" | grep -v '<none>')
do
docker pull $image
done
Or in one line:
for image in $(docker images --format "{{.Repository}}:{{.Tag}}" | grep -v '<none>'); do docker pull $image; done;
Answered By - François Maturel Answer Checked By - Pedro (WPSolving Volunteer)