{"id":164,"date":"2020-09-12T19:49:15","date_gmt":"2020-09-12T18:49:15","guid":{"rendered":"http:\/\/10.0.1.68\/?p=164"},"modified":"2022-06-19T20:28:48","modified_gmt":"2022-06-19T19:28:48","slug":"how-to-installatie-docker-portainer","status":"publish","type":"post","link":"https:\/\/scriptpress.rfuchs.nl\/index.php\/2020\/09\/12\/how-to-installatie-docker-portainer\/","title":{"rendered":"How-to: installatie Docker + Portainer"},"content":{"rendered":"\n<p>In deze how-to beschrijf ik hoe je op Raspbian of Ubuntu, Docker en Portainer installeert in een paar simpele stappen.<\/p>\n\n\n\n<p>Log met Putty (of een andere SSH applicatie) op je Raspberry Pi of Ubuntu machine. Voer de volgende commando&#8217;s om de beurt in.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Updaten van Raspbian \/ Ubuntu<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt upgrade<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Installatie Docker<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo curl -sSL https:\/\/get.docker.com | sh<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Installatie Portainer<\/h2>\n\n\n\n<p>Voer deze regel codes wel allemaal tegelijk in.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo docker run -d \\\n--name=\"portainer\" \\\n--restart on-failure \\\n-p 9000:9000 \\\n-v \/var\/run\/docker.sock:\/var\/run\/docker.sock \\\n-v portainer_data:\/data \\\nportainer\/portainer<\/code><\/pre>\n\n\n\n<p>Open nu je webbrowser en voer het IP adres van je RPI of Ubuntu machine in en eindig op poort 9000. Dus als voorbeeld: http:\/\/192.168.1.107:9000<br><br>Nu kan je hier een account aanmaken en inloggen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In deze how-to beschrijf ik hoe je op Raspbian of Ubuntu, Docker en Portainer installeert in een paar simpele stappen. Log met Putty (of een andere SSH applicatie) op je [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[23],"tags":[34,35,33],"class_list":["post-164","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","tag-docker","tag-portainer","tag-raspbian"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/scriptpress.rfuchs.nl\/index.php\/wp-json\/wp\/v2\/posts\/164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scriptpress.rfuchs.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scriptpress.rfuchs.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scriptpress.rfuchs.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scriptpress.rfuchs.nl\/index.php\/wp-json\/wp\/v2\/comments?post=164"}],"version-history":[{"count":3,"href":"https:\/\/scriptpress.rfuchs.nl\/index.php\/wp-json\/wp\/v2\/posts\/164\/revisions"}],"predecessor-version":[{"id":368,"href":"https:\/\/scriptpress.rfuchs.nl\/index.php\/wp-json\/wp\/v2\/posts\/164\/revisions\/368"}],"wp:attachment":[{"href":"https:\/\/scriptpress.rfuchs.nl\/index.php\/wp-json\/wp\/v2\/media?parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scriptpress.rfuchs.nl\/index.php\/wp-json\/wp\/v2\/categories?post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scriptpress.rfuchs.nl\/index.php\/wp-json\/wp\/v2\/tags?post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}