Easy Way to Pull New Docker Images

Keeping your Docker images up to date isn’t quite as easy as using your Linux operating system package manager, but this one command makes it easy to check all your running instances for new images. It will pull a list and issue a docker pull for each one consecutively.

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

You’ll see what new images are pulled down so you can then reload via docker-compose or run your docker command. And then after new versions are running you can delete the old versions and any left over volumes. If you’re running a lot of docker images this can be a real time saver.