{"id":138,"date":"2026-03-18T13:22:10","date_gmt":"2026-03-18T13:22:10","guid":{"rendered":"https:\/\/www.test2.laoku.co.uk\/?p=138"},"modified":"2026-03-22T16:52:14","modified_gmt":"2026-03-22T16:52:14","slug":"docker-updates","status":"publish","type":"post","link":"https:\/\/www.test2.laoku.co.uk\/index.php\/2026\/03\/18\/docker-updates\/","title":{"rendered":"Docker updates"},"content":{"rendered":"\n<p>So, most of my docker compose scripts are fairly specific, Most are using the :latest tags unless there is a specific reason for not doing so. Updating them can be carried out periodically by running the following<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#Once SSH'ed into the hosting server\n\ndocker compose pull \n\n#Alternatively, if using profiles\n\ndocker compose --profile chosen-profile pull\n\n#If it does pull down any new versions, then stop the\n#current containers, build, then restart\n\ndocker compose --profile chosen-profile down\ndocker compose --profile chosen-profile build\ndocker compose --profile chosen-profile up -d\n\n#For issues, leave off the -d switch to see startup messages. Failing that \n#investigate the logs of the containers\n\ndocker logs name-container\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Quickly updating docker compose project images and containers<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-138","post","type-post","status-publish","format-standard","hentry","category-docker"],"_links":{"self":[{"href":"https:\/\/www.test2.laoku.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.test2.laoku.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.test2.laoku.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.test2.laoku.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.test2.laoku.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=138"}],"version-history":[{"count":2,"href":"https:\/\/www.test2.laoku.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/138\/revisions"}],"predecessor-version":[{"id":141,"href":"https:\/\/www.test2.laoku.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/138\/revisions\/141"}],"wp:attachment":[{"href":"https:\/\/www.test2.laoku.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.test2.laoku.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.test2.laoku.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}