{"id":2665,"date":"2023-10-08T12:27:18","date_gmt":"2023-10-08T16:27:18","guid":{"rendered":"https:\/\/matthannan.net\/blog\/?p=2665"},"modified":"2023-10-10T23:15:18","modified_gmt":"2023-10-11T03:15:18","slug":"howto-update-portainer","status":"publish","type":"post","link":"https:\/\/matthannan.net\/blog\/howto-update-portainer\/","title":{"rendered":"HOWTO Update Portainer"},"content":{"rendered":"\n<p>I&#8217;ve set up my Portainer servers slightly differently than the official docs. They map to port 9443 and I map to port 9000. No big whoop, but it will stop me dead.<\/p>\n\n\n\n<p>This is what it should look like:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>user@docker:~$ sudo docker stop portainer\nportainer\nuser@docker:~$ sudo docker rm portainer\nportainer\nuser@docker:~$ sudo docker pull portainer\/portainer-ce:latest\nlatest: Pulling from portainer\/portainer-ce\n795a208431d7: Pull complete\n4f272ca3dde3: Pull complete\n5171176db7f2: Pull complete\n52e9438966a5: Pull complete\n43d4775415ac: Pull complete\nc1cad9f5200f: Pull complete\n27d6dca9cab4: Pull complete\n231d7e50ef35: Pull complete\n589f2af34593: Pull complete\n5fc2ddaa6f07: Pull complete\n4f4fb700ef54: Pull complete\nDigest: sha256:f29cbc7b26ebd70--------ea350e871372a6296a1fa16ba999481fb2\nStatus: Downloaded newer image for portainer\/portainer-ce:latest\ndocker.io\/portainer\/portainer-ce:latest\nuser@docker:~$ sudo docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v \/var\/run\/docker.sock:\/var\/run\/docker.sock -v portainer_data:\/data portainer\/portainer-ce:latest<\/code><\/pre>\n\n\n\n<p>And here are just the commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo docker stop portainer\nsudo docker rm portainer\nsudo docker pull portainer\/portainer-ce:latest\nsudo docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v \/var\/run\/docker.sock:\/var\/run\/docker.sock -v portainer_data:\/data portainer\/portainer-ce:latest<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve set up my Portainer servers slightly differently than the official docs. They map to port 9443 and I map to port 9000. No big whoop, but it will stop me dead. This is what it should look like: And &hellip; <a href=\"https:\/\/matthannan.net\/blog\/howto-update-portainer\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[],"class_list":["post-2665","post","type-post","status-publish","format-standard","hentry","category-life"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2NxlE-GZ","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":2672,"url":"https:\/\/matthannan.net\/blog\/prometheus-node-exporter-on-raspberry-pi-how-to-install-linuxhit\/","url_meta":{"origin":2665,"position":0},"title":"Prometheus node exporter on Raspberry Pi &#8211; How to install &#8211; Linuxhit","author":"matthannan","date":"8 October 2023","format":false,"excerpt":"Old write-up, but it worked AOK for me just now on Pi4B. Node exporter is a great way to monitor your Raspberry Pi with Prometheus. Follow these steps to get node exporter running on your Raspberry Pi. Source: Prometheus node exporter on Raspberry Pi - How to install - Linuxhit\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2288,"url":"https:\/\/matthannan.net\/blog\/installing-unifi-controller-docker-container-on-synology-nas-thiago-crepaldi\/","url_meta":{"origin":2665,"position":1},"title":"Installing Unifi controller Docker container on Synology NAS &#8211; Thiago Crepaldi","author":"matthannan","date":"17 July 2021","format":false,"excerpt":"Really, I used this just as a guide to update the Unifi controller in the Docker container. You could do that a time or two before it gets simple, which it is. Just a new way of doing things, I guess. Currently up and running with my various WLANs! Source:\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2254,"url":"https:\/\/matthannan.net\/blog\/installing-the-unifi-controller-on-a-synology-nas-in-5-minutes-2019\/","url_meta":{"origin":2665,"position":2},"title":"Installing the Unifi Controller on a Synology NAS in 5 minutes \u2014 (2019)","author":"matthannan","date":"9 May 2021","format":false,"excerpt":"Slowly I turned. And step by step. Inch by inch... [Step-by-Step] Installing the Unifi Controller on a Synology NAS with the use of Docker. Up and running in 5 minutes. Source: Installing the Unifi Controller on a Synology Nas in 5 minutes \u2014 (2019) Unifi Controller is now running on\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/MYP1OBZfFK0\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2699,"url":"https:\/\/matthannan.net\/blog\/high-availability-pi-hole-servers\/","url_meta":{"origin":2665,"position":3},"title":"High Availability Pi-Hole Servers","author":"matthannan","date":"9 June 2024","format":false,"excerpt":"Had been running a single Pi-Hole for a long while, but I would always have to wait until after C & J were abed before I could update it. Having a second Pi-Hole server running was key. Was trying to get the second one spun up as a Docker instance\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2024\/06\/image.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2024\/06\/image.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2024\/06\/image.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2024\/06\/image.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":2625,"url":"https:\/\/matthannan.net\/blog\/outbound-vpn-on-the-pfsense-router\/","url_meta":{"origin":2665,"position":4},"title":"Outbound VPN on the pfSense Router","author":"matthannan","date":"16 July 2023","format":false,"excerpt":"Privacy is increasingly a priority in my design decisions when it comes to what I what I am implementing in my home network. I am loathe to describe it as a \"homelab\", as this is about as front-line production as it gets. If a random web site has a glitch,\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/MBBOjf7fLrc\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2086,"url":"https:\/\/matthannan.net\/blog\/revisiting-plex-and-nfs\/","url_meta":{"origin":2665,"position":5},"title":"Revisiting Plex and NFS","author":"matthannan","date":"22 October 2020","format":false,"excerpt":"The Raspberry Pi 3B is just a bit too weak to provide quick transcoding of HD files. But it has been working great for photos, podcasts, and music. I have long wanted to get the Atomic Pi back in the mix. For too long now, it has been sitting on\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/2665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/comments?post=2665"}],"version-history":[{"count":2,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/2665\/revisions"}],"predecessor-version":[{"id":2681,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/2665\/revisions\/2681"}],"wp:attachment":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/media?parent=2665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/categories?post=2665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/tags?post=2665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}