{"id":708,"date":"2018-10-28T15:23:49","date_gmt":"2018-10-28T08:23:49","guid":{"rendered":"http:\/\/www.oopsbox.com\/?p=708"},"modified":"2018-10-28T15:23:49","modified_gmt":"2018-10-28T08:23:49","slug":"automatic-update-all-docker-images","status":"publish","type":"post","link":"https:\/\/www.oopsbox.com\/?p=708","title":{"rendered":"Automatic Update All Docker Images"},"content":{"rendered":"<p>\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e2d\u0e31\u0e1e\u0e40\u0e14\u0e15 Docker Images \u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14\u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e44\u0e1b\u0e41\u0e25\u0e49\u0e27 \u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e14\u0e49\u0e32\u0e19\u0e25\u0e48\u0e32\u0e07\u0e19\u0e35\u0e49<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">docker images | grep -v REPOSITORY | awk '{printf $1; printf \":\"; print $2}' | xargs -L1 docker pull<\/pre>\n<p>\u0e42\u0e14\u0e22\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e40\u0e23\u0e32\u0e44\u0e14\u0e49\u0e2d\u0e31\u0e1e\u0e40\u0e14\u0e15\u0e44\u0e1b\u0e41\u0e25\u0e49\u0e27\u0e44\u0e1f\u0e25\u0e4c\u0e15\u0e31\u0e27\u0e43\u0e2b\u0e21\u0e48\u0e08\u0e30\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e17\u0e31\u0e1a (Overwrite) \u0e15\u0e31\u0e27\u0e40\u0e14\u0e34\u0e21 \u0e40\u0e23\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e15\u0e32\u0e21\u0e44\u0e1b\u0e25\u0e1a (Cleanup) \u0e15\u0e31\u0e27\u0e40\u0e14\u0e34\u0e21\u0e2d\u0e35\u0e01\u0e23\u0e2d\u0e1a \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">docker images | grep \"&lt;none&gt;\" | awk '{print $3}' | xargs -L1 docker rmi<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-709\" src=\"https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20181028151334-825x474.png\" alt=\"\" width=\"825\" height=\"474\" srcset=\"https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20181028151334-825x474.png 825w, https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20181028151334-825x474-300x172.png 300w, https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20181028151334-825x474-768x441.png 768w, https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20181028151334-825x474-700x402.png 700w\" sizes=\"auto, (max-width: 825px) 100vw, 825px\" \/><br \/>\n\u0e08\u0e1a\u0e1b\u0e34\u0e4a\u0e07\u0e07\u00a0 ^_^<\/p>\n<div id=\"s-share-buttons\" class=\"\"><div class=\"s-single-share\">\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"fb-share-button\" data-href=\"https:\/\/www.oopsbox.com\/?p=708\" data-type=\"button_count\"><\/div><\/div><div class=\"s-single-share\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\"><\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t<\/div><div class=\"s-single-share\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"g-plusone\" data-size=\"medium\"><\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div><div class=\"s-single-share\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"\/\/www.pinterest.com\/pin\/create\/button\/\" data-pin-do=\"buttonBookmark\"  data-pin-color=\"red\"><img decoding=\"async\" src=\"\/\/assets.pinterest.com\/images\/pidgets\/pinit_fg_en_rect_red_20.png\" \/><\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<script type=\"text\/javascript\" async defer src=\"\/\/assets.pinterest.com\/js\/pinit.js\"><\/script>\n\t\t\t\t\t\t\t\t\t\t\t\t<\/div><div class=\"s-single-share\">\n\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"mailto:?Subject=Automatic%20Update%20All%20Docker%20Images&Body=Here%20is%20the%20link%20to%20the%20article:%20https:\/\/www.oopsbox.com\/?p=708\" title=\"Email\" class=\"s3-email\"><img decoding=\"async\" src=\"https:\/\/www.oopsbox.com\/wp-content\/plugins\/simple-social-share\/includes\/..\/images\/share-email.png\"><\/a>\n\t\t\t\t\t\t\t\t\t\t\t<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e2d\u0e31\u0e1e\u0e40\u0e14\u0e15 Docker Images \u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14\u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e44\u0e1b\u0e41\u0e25\u0e49\u0e27 \u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e14\u0e49\u0e32\u0e19\u0e25\u0e48\u0e32\u0e07\u0e19\u0e35\u0e49 docker images | grep -v REPOSITORY | awk &#8216;{printf $1; printf &#8220;:&#8221;; print $2}&#8217; | xargs -L1 docker pull \u0e42\u0e14\u0e22\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e40\u0e23\u0e32\u0e44\u0e14\u0e49\u0e2d\u0e31\u0e1e\u0e40\u0e14\u0e15\u0e44\u0e1b\u0e41\u0e25\u0e49\u0e27\u0e44\u0e1f\u0e25\u0e4c\u0e15\u0e31\u0e27\u0e43\u0e2b\u0e21\u0e48\u0e08\u0e30\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e17\u0e31\u0e1a (Overwrite) \u0e15\u0e31\u0e27\u0e40\u0e14\u0e34\u0e21 \u0e40\u0e23\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e15\u0e32\u0e21\u0e44\u0e1b\u0e25\u0e1a (Cleanup) \u0e15\u0e31\u0e27\u0e40\u0e14\u0e34\u0e21\u0e2d\u0e35\u0e01\u0e23\u0e2d\u0e1a \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 docker images | grep &#8220;&lt;none&gt;&#8221; | awk &#8216;{print $3}&#8217; | xargs -L1 docker rmi \u0e08\u0e1a\u0e1b\u0e34\u0e4a\u0e07\u0e07\u00a0 ^_^<\/p>\n","protected":false},"author":1,"featured_media":710,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[47],"class_list":["post-708","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developer-note","tag-docker","entry"],"views":2177,"_links":{"self":[{"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/posts\/708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=708"}],"version-history":[{"count":1,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/posts\/708\/revisions"}],"predecessor-version":[{"id":711,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/posts\/708\/revisions\/711"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/media\/710"}],"wp:attachment":[{"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}