Skip to content

How to Update All Docker Images

Summary


This will be a quick article on how to update all Docker images at once.

Docker Update


Docker does not have a command to update images that you have already pulled. The only way is to pull all images again using docker pull command. This simple one-liner can help you update all images at once.

docker images |grep -v REPOSITORY|awk '{print $1}'|xargs -L1 docker pull 

References


https://www.googlinux.com/update-all-docker-images/