{"id":941,"date":"2022-07-15T09:19:42","date_gmt":"2022-07-15T16:19:42","guid":{"rendered":"https:\/\/jasonsblog.access.ly\/?p=941"},"modified":"2022-07-15T09:22:59","modified_gmt":"2022-07-15T16:22:59","slug":"easy-way-to-pull-new-docker-images","status":"publish","type":"post","link":"https:\/\/jasonsblog.ddns.net\/index.php\/2022\/07\/15\/easy-way-to-pull-new-docker-images\/","title":{"rendered":"Easy Way to Pull New Docker Images"},"content":{"rendered":"\n<p>Keeping your Docker images up to date isn&#8217;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. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker images |grep -v REPOSITORY|awk '{print $1}'|xargs -L1 docker pull <\/code><\/pre>\n\n\n\n<p>You&#8217;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&#8217;re running a lot of docker images this can be a real time saver.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Keeping your Docker images up to date isn&#8217;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. You&#8217;ll see what new images are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-941","post","type-post","status-publish","format-standard","hentry","category-tech"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"featured_image_src":null,"author_info":{"display_name":"Jason","author_link":"https:\/\/jasonsblog.ddns.net\/index.php\/author\/jturning\/"},"_links":{"self":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/comments?post=941"}],"version-history":[{"count":1,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/941\/revisions"}],"predecessor-version":[{"id":942,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/941\/revisions\/942"}],"wp:attachment":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/media?parent=941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/categories?post=941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/tags?post=941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}