<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Updating Portainer - GoBlog</title>
	<atom:link href="https://blog.goreinnamah.com/blog/tag/updating-portainer/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.goreinnamah.com</link>
	<description>LOG ALL LOGS</description>
	<lastBuildDate>Mon, 12 Apr 2021 15:02:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://blog.goreinnamah.com/wp-content/uploads/2017/01/cropped-1-150x150.jpg</url>
	<title>Updating Portainer - GoBlog</title>
	<link>https://blog.goreinnamah.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Cara Melakukan Update Portainer (version)</title>
		<link>https://blog.goreinnamah.com/blog/2021/01/09/cara-melakukan-update-portainer-version/</link>
		
		<dc:creator><![CDATA[Darius Go Reinnamah]]></dc:creator>
		<pubDate>Sat, 09 Jan 2021 02:40:25 +0000</pubDate>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Membeli sepatu dari Luar Negeri]]></category>
		<category><![CDATA[portainer]]></category>
		<category><![CDATA[portainer docker]]></category>
		<category><![CDATA[Update Portainer]]></category>
		<category><![CDATA[Updating Portainer]]></category>
		<guid isPermaLink="false">https://blog.goreinnamah.com/?p=5151</guid>

					<description><![CDATA[<p>Pada postingan kedua mengenai Portainer kali ini, sebenarnya saya ingin membahas cara membuat docker container melalui Portainer. Namun ketika saya memasuki halaman utama[...]</p>
<p>The post <a href="https://blog.goreinnamah.com/blog/2021/01/09/cara-melakukan-update-portainer-version/">Cara Melakukan Update Portainer (version)</a> first appeared on <a href="https://blog.goreinnamah.com">GoBlog</a>.</p>]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Pada postingan kedua mengenai Portainer kali ini, sebenarnya saya ingin membahas cara membuat <strong><a href="https://www.docker.com/resources/what-container"><em>docker container</em></a></strong> melalui Portainer. Namun ketika saya memasuki halaman utama Portainer, saya menemukan tulisan biru gelap berlatar oranye di ujung kiri bawah <em>browser</em> yang berbunyi, &#8220;A new version is available&#8221;. Seketika saya pun jadi penasaran bagaimana ya cara melakukan <em>update</em> portainer ke versi yang lebih baru. Akhirnya saya kesampingkan dulu menulis tutorial cara membuat <em>docker container </em>di Portainer dan lebih memilih untuk mengobati rasa penasaran saya mengenai cara meng-<em>update</em> versi Portainer.</p>
<p style="text-align: justify;">Rasa penasaran itu memang harus segera dituntaskan, tidak baik dibiarkan berlarut-larut. Rasa  penasaran yang tak terobati membuat hidup menjadi tidak tenang. Lagipula halaman Portainer akan lebih indah jika tulisan berlatar oranye itu akhirnya menghilang.</p>
<figure id="attachment_5155" aria-describedby="caption-attachment-5155" style="width: 1201px" class="wp-caption aligncenter"><img fetchpriority="high" decoding="async" class="size-full wp-image-5155" src="https://blog.goreinnamah.com/wp-content/uploads/2021/01/1.jpg" alt="" width="1201" height="858" srcset="https://blog.goreinnamah.com/wp-content/uploads/2021/01/1.jpg 1201w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/1-300x214.jpg 300w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/1-1024x732.jpg 1024w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/1-768x549.jpg 768w" sizes="(max-width: 1201px) 100vw, 1201px" /><figcaption id="caption-attachment-5155" class="wp-caption-text">Ada pemberitahuan mengenai versi terbaru dari portainer</figcaption></figure>
<p style="text-align: justify;">Akhirnya saya mencari tahu cara melakukan <em>update</em> Portainer ke versi yang lebih baru dan menemukan solusinya di <em>channel</em> youtube milik Johny Netsec. Dari video itulah kemudian saya membuat versi tulisannya (Terima kasih Koh Johny).</p>
<p style="text-align: justify;">Dan berikut ini adalah cara melakukan <em>update</em> Portainer ke versi yang lebih baru:</p>
<ol style="text-align: justify;">
<li style="text-align: justify;">Sampai tulisan ini dirilis, belum ada cara untuk melakukan <em>update </em>melalui GUI. Prosesnya harus dilakukan melalui CLI. Untuk itu, masuklah ke dalam <em>console </em>dimana Portainer kalian berada dan jalankan perintah berikut untuk melihat daftar kontainer yang sedang aktif di server kalian
<pre><span style="color: #ff0000;"><strong>docker container ls</strong></span></pre>
<p><figure id="attachment_5154" aria-describedby="caption-attachment-5154" style="width: 1413px" class="wp-caption aligncenter"><img decoding="async" class="size-full wp-image-5154" src="https://blog.goreinnamah.com/wp-content/uploads/2021/01/2.jpg" alt="" width="1413" height="282" srcset="https://blog.goreinnamah.com/wp-content/uploads/2021/01/2.jpg 1413w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/2-300x60.jpg 300w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/2-1024x204.jpg 1024w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/2-768x153.jpg 768w" sizes="(max-width: 1413px) 100vw, 1413px" /><figcaption id="caption-attachment-5154" class="wp-caption-text">docker container ls</figcaption></figure></li>
<li style="text-align: justify;">Dari gambar di atas, terlihat bahwa saya memiliki 4 kontainer dan Portainer berada di daftar paling bawah. Untuk meng-<em>update </em>Portainer, terlebih dahulu kalian harus mematikan kontainer tersebut. Untuk mematikannya, jalankan perintah:
<pre><span style="color: #ff0000;"><strong>docker stop &lt;nama_kontainer atau ID_kontainer&gt;</strong></span></pre>
</li>
<li style="text-align: justify;">Setelah selesai dimatikan, berikutnya kalian harus menarik <em>image </em>baru Portainer dari <em>dockerhub </em>dengan menjalankan perintah docker berikut:
<pre><span style="color: #ff0000;"><strong>docker pull portainer/portainer-ce:latest</strong></span></pre>
<p><figure id="attachment_5156" aria-describedby="caption-attachment-5156" style="width: 964px" class="wp-caption alignnone"><img decoding="async" class="size-full wp-image-5156" src="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.30.36.png" alt="" width="964" height="264" srcset="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.30.36.png 964w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.30.36-300x82.png 300w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.30.36-768x210.png 768w" sizes="(max-width: 964px) 100vw, 964px" /><figcaption id="caption-attachment-5156" class="wp-caption-text">mematikan kontainer dan menarik image terbaru dari Portainer ke dalam server</figcaption></figure></li>
<li style="text-align: justify;">bila unduhan <em>image </em>sudah berhasil dilakukan, jalankan perintah berikut untuk melihat daftar <em>image </em>yang ada
<pre><span style="color: #ff0000;"><strong>docker image ls</strong></span></pre>
<p><figure id="attachment_5158" aria-describedby="caption-attachment-5158" style="width: 1420px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full wp-image-5158" src="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-17.38.27.png" alt="" width="1420" height="236" srcset="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-17.38.27.png 1420w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-17.38.27-300x50.png 300w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-17.38.27-1024x170.png 1024w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-17.38.27-768x128.png 768w" sizes="auto, (max-width: 1420px) 100vw, 1420px" /><figcaption id="caption-attachment-5158" class="wp-caption-text">daftar image yang ada di server</figcaption></figure></li>
<li style="text-align: justify;">Dari daftar <em>image </em>di atas dapat terlihat kalau ada 2 <em>image </em>portainer. Satu dengan <em>tag </em>latest dan satu lagi tanpa <em>tag. </em>Kalian harus menghapus <em>image </em>yang lebih jadul. Hal itu bisa kalian lihat dari CREATED-nya. Untuk menghapus <em>image </em>Portainer yang lebih jadul (<em>created 4 months ago), </em>jalankan perintah berikut:
<pre><span style="color: #ff0000;"><strong>docker image rm &lt;Image_ID&gt;</strong></span></pre>
<p><figure id="attachment_5160" aria-describedby="caption-attachment-5160" style="width: 1690px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full wp-image-5160" src="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.33.43.png" alt="" width="1690" height="78" srcset="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.33.43.png 1690w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.33.43-300x14.png 300w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.33.43-1024x47.png 1024w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.33.43-768x35.png 768w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.33.43-1536x71.png 1536w" sizes="auto, (max-width: 1690px) 100vw, 1690px" /><figcaption id="caption-attachment-5160" class="wp-caption-text">Menghapus image tapi error</figcaption></figure></li>
<li style="text-align: justify;">Di atas dapat terlihat kalau proses penghapusan <em>image </em>Portainer yang jadul mengalami kegagalan. Kenapa seperti itu? Karena <em>image </em>tersebut digunakan oleh kontainer yang tadi dimatikan. Untuk bisa menghapusnya, kalian harus menghapus kontainer tersebut terlebih dahulu.<br />
&#8220;Apakah nanti kontainer yang pernah dibuat melalui Portainer tidak akan hilang ketika kontainernya dihapus?&#8221; Mungkin ada yang bertanya seperti itu. Jawabannya tidak, jika kalian mengikuti proses instalasi seperti yang tertulis <a href="https://blog.goreinnamah.com/blog/2021/01/07/instalasi-portainer/"><strong>DI SINI</strong></a>.<br />
Untuk menghapus kontainer Portainer, jalankan perintah:</p>
<pre><span style="color: #ff0000;"><strong>docker container rm &lt;Container_ID&gt;</strong></span></pre>
<p><figure id="attachment_5163" aria-describedby="caption-attachment-5163" style="width: 538px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-5163" src="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.35.09.png" alt="" width="538" height="52" srcset="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.35.09.png 538w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.35.09-300x29.png 300w" sizes="auto, (max-width: 538px) 100vw, 538px" /><figcaption id="caption-attachment-5163" class="wp-caption-text">menghapus container</figcaption></figure></li>
<li style="text-align: justify;">Setelah kontainer tersebut dihapus, barulah kalian bisa menghapus <em>image </em>Portainer yang sudah jadul itu. Kembali jalankan perintah di nomor 5:
<pre><span style="color: #ff0000;"><strong>docker image rm &lt;Image_ID&gt;</strong></span></pre>
<p><figure id="attachment_5165" aria-describedby="caption-attachment-5165" style="width: 1254px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full wp-image-5165" src="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.35.36.png" alt="" width="1254" height="160" srcset="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.35.36.png 1254w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.35.36-300x38.png 300w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.35.36-1024x131.png 1024w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.35.36-768x98.png 768w" sizes="auto, (max-width: 1254px) 100vw, 1254px" /><figcaption id="caption-attachment-5165" class="wp-caption-text">Image Portainer berhasil dihapus</figcaption></figure></li>
<li>Sekarang nyalakan kembali Portainer, tapi kali ini menggunakan image terbaru. Samakan lokasi volume portainer dan di mana ia di-<em>mounting, </em>serta sesuaikan juga letak sertifikatnya. Bila belum mengerti, silakan mampir ke postingan saya yang pertama mengenai instalasi Portainer<strong> <a href="https://blog.goreinnamah.com/blog/2021/01/07/instalasi-portainer/">DI SINI</a></strong>.
<pre><span style="color: #ff0000;"><strong>docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v ~/certs:/certs -v portainer_data:/data portainer/portainer-ce --ssl --sslcert /certs/portainer.crt --sslkey /certs/portainer.key</strong></span></pre>
<p><figure id="attachment_5167" aria-describedby="caption-attachment-5167" style="width: 1974px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full wp-image-5167" src="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.40.56.png" alt="" width="1974" height="84" srcset="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.40.56.png 1974w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.40.56-300x13.png 300w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.40.56-1024x44.png 1024w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.40.56-768x33.png 768w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.40.56-1536x65.png 1536w" sizes="auto, (max-width: 1974px) 100vw, 1974px" /><figcaption id="caption-attachment-5167" class="wp-caption-text">Menyalakan kontainer</figcaption></figure></li>
<li>Untuk melihat apakah kontainernya sudah berjalan, jalankan perintah berikut:
<pre>docker container ls
docker logs &lt;Container_ID&gt;</pre>
<figure id="attachment_5169" aria-describedby="caption-attachment-5169" style="width: 1609px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full wp-image-5169" src="https://blog.goreinnamah.com/wp-content/uploads/2021/01/3.jpg" alt="" width="1609" height="314" srcset="https://blog.goreinnamah.com/wp-content/uploads/2021/01/3.jpg 1609w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/3-300x59.jpg 300w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/3-1024x200.jpg 1024w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/3-768x150.jpg 768w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/3-1536x300.jpg 1536w" sizes="auto, (max-width: 1609px) 100vw, 1609px" /><figcaption id="caption-attachment-5169" class="wp-caption-text">Portainer sudah berjalan dengan Container ID yang berbeda dari sebelumnya</figcaption></figure>
<p>perintah <em>docker logs</em> digunakan untuk memantau log dari suatu kontainer. Dari situ, kalian bisa melihat catatan-catatan atau peringatan-peringatan yang dikeluarkan oleh kontainer tersebut.</li>
<li>Kembali akses Portainer melalui web dan kini Portainer sudah terupdate ke versi terbaru.
<p><figure id="attachment_5170" aria-describedby="caption-attachment-5170" style="width: 1978px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full wp-image-5170" src="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.41.58.png" alt="" width="1978" height="1430" srcset="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.41.58.png 1978w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.41.58-300x217.png 300w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.41.58-1024x740.png 1024w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.41.58-768x555.png 768w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.41.58-1536x1110.png 1536w" sizes="auto, (max-width: 1978px) 100vw, 1978px" /><figcaption id="caption-attachment-5170" class="wp-caption-text">Portainer sudah terupdate. Dariversi 2.0.0 ke 2.0.1</figcaption></figure></li>
<li>Apakah kontainer yang lainnya tetap berjalan? Oh, tentu saja.
<p><figure id="attachment_5171" aria-describedby="caption-attachment-5171" style="width: 2194px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full wp-image-5171" src="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.44.58.png" alt="" width="2194" height="812" srcset="https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.44.58.png 2194w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.44.58-300x111.png 300w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.44.58-1024x379.png 1024w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.44.58-768x284.png 768w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.44.58-1536x568.png 1536w, https://blog.goreinnamah.com/wp-content/uploads/2021/01/Screen-Shot-2021-01-08-at-14.44.58-2048x758.png 2048w" sizes="auto, (max-width: 2194px) 100vw, 2194px" /><figcaption id="caption-attachment-5171" class="wp-caption-text">daftar kontainer yang ada</figcaption></figure></li>
</ol>
<p style="text-align: justify;">Itu tadi sedikit <em>sharing </em>mengenai cara <em>update </em>Portainer ke versi terbaru. Semoga informasinya berguna dan sampai jumpa di tulisan selanjutnya <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p style="text-align: justify;"><p>The post <a href="https://blog.goreinnamah.com/blog/2021/01/09/cara-melakukan-update-portainer-version/">Cara Melakukan Update Portainer (version)</a> first appeared on <a href="https://blog.goreinnamah.com">GoBlog</a>.</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 0/161 objects using Memcached
Page Caching using Disk: Enhanced 
Database Caching using Memcached (Request-wide modification query)

Served from: blog.goreinnamah.com @ 2026-10-07 09:28:54 by W3 Total Cache
-->