{"id":183,"date":"2021-11-03T00:29:18","date_gmt":"2021-11-02T23:29:18","guid":{"rendered":"http:\/\/daisy-street.fr\/?p=183"},"modified":"2021-11-04T17:21:07","modified_gmt":"2021-11-04T16:21:07","slug":"ubuntu-docker-rancher-kubernetes","status":"publish","type":"post","link":"https:\/\/daisy-street.fr\/index.php\/2021\/11\/03\/ubuntu-docker-rancher-kubernetes\/","title":{"rendered":"Ubuntu , Docker, Rancher, Kubernetes"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Installer ubuntu sur proxmox<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-daisystreet-blog wp-block-embed-daisystreet-blog\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"dUlBILA2Ra\"><a href=\"http:\/\/daisy-street.fr\/index.php\/2021\/11\/04\/creation-template-ubuntu\/\">Creation template Ubuntu<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Creation template Ubuntu&#8221; &#8212; DaisyStreet Blog\" src=\"http:\/\/daisy-street.fr\/index.php\/2021\/11\/04\/creation-template-ubuntu\/embed\/#?secret=9ss7Im8NSg#?secret=dUlBILA2Ra\" data-secret=\"dUlBILA2Ra\" width=\"525\" height=\"296\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installer Docker<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>curl https:\/\/releases.rancher.com\/install-docker\/20.10.sh | sh<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Installer Rancher<\/h2>\n\n\n\n<p>la commande d&#8217;installation fait que \/opt\/rancher est l&#8217;emplacement persistant de la configuration du node docker , ce qui permet d&#8217;assigner un disk vm pour conserver la config rancher meme si on detruit le contener docker<\/p>\n\n\n\n<p>ajouter un disk a la vm<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"492\" height=\"32\" data-attachment-id=\"190\" data-permalink=\"https:\/\/daisy-street.fr\/index.php\/2021\/11\/03\/ubuntu-docker-rancher-kubernetes\/image-1-2\/\" data-orig-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-1.png\" data-orig-size=\"492,32\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-1\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-1-300x20.png\" data-large-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-1.png\" src=\"http:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-1.png\" alt=\"\" class=\"wp-image-190\" srcset=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-1.png 492w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-1-300x20.png 300w\" sizes=\"auto, (max-width: 492px) 100vw, 492px\" \/><\/figure>\n\n\n\n<p>dans ubuntu le partitionner , formater et le monter<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mkdir \/opt\/rancher\n\nsudo parted \/dev\/sdb\n\nsudo mkfs -t ext4 \/dev\/sdb1\n\nsudo nano -Bw \/etc\/fstab\n\/dev\/sdb1    \/opt\/rancher   ext4    defaults     0        2\n\n<\/code><\/pre>\n\n\n\n<p>Execution de le commande d&#8217;installation<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker run -d --restart=unless-stopped   -p 80:80 -p 443:443   -v \/opt\/rancher:\/var\/lib\/rancher --privileged --name=rancher_docker_server -e CATTLE_BOOTSTRAP_PASSWORD=password rancher\/rancher:latest \n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"83\" data-attachment-id=\"193\" data-permalink=\"https:\/\/daisy-street.fr\/index.php\/2021\/11\/03\/ubuntu-docker-rancher-kubernetes\/image-4-2\/\" data-orig-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-4.png\" data-orig-size=\"1189,96\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-4\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-4-300x24.png\" data-large-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-4-1024x83.png\" src=\"http:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-4-1024x83.png\" alt=\"\" class=\"wp-image-193\" srcset=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-4-1024x83.png 1024w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-4-300x24.png 300w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-4-768x62.png 768w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-4.png 1189w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"501\" height=\"115\" data-attachment-id=\"191\" data-permalink=\"https:\/\/daisy-street.fr\/index.php\/2021\/11\/03\/ubuntu-docker-rancher-kubernetes\/image-2-2\/\" data-orig-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-2.png\" data-orig-size=\"501,115\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-2\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-2-300x69.png\" data-large-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-2.png\" src=\"http:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-2.png\" alt=\"\" class=\"wp-image-191\" srcset=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-2.png 501w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/11\/image-2-300x69.png 300w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">References<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Virtualize Ubuntu Server with Proxmox VE\" width=\"525\" height=\"295\" src=\"https:\/\/www.youtube.com\/embed\/YR9SNDD8WB4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><a href=\"https:\/\/techno-tim.github.io\/posts\/docker-rancher-kubernetes\/\">https:\/\/techno-tim.github.io\/posts\/docker-rancher-kubernetes\/<\/a><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Docker, Rancher, Kubernetes... Minecraft?  (Rancher Setup and Install Tutorial)\" width=\"525\" height=\"295\" src=\"https:\/\/www.youtube.com\/embed\/oILc0ywDVTk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Installer ubuntu sur proxmox Installer Docker Installer Rancher la commande d&#8217;installation fait que \/opt\/rancher est l&#8217;emplacement persistant de la configuration du node docker , ce qui permet d&#8217;assigner un disk vm pour conserver la config rancher meme si on detruit le contener docker ajouter un disk a la vm dans ubuntu le partitionner , formater &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/daisy-street.fr\/index.php\/2021\/11\/03\/ubuntu-docker-rancher-kubernetes\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Ubuntu , Docker, Rancher, Kubernetes&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ub_ctt_via":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[20,33,32,15],"class_list":["post-183","post","type-post","status-publish","format-standard","hentry","category-non-classe","tag-docker","tag-kubernetes","tag-rancher","tag-ubuntu"],"jetpack_publicize_connections":[],"featured_image_src":null,"author_info":{"display_name":"admin9483","author_link":"https:\/\/daisy-street.fr\/index.php\/author\/admin9483\/"},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/comments?post=183"}],"version-history":[{"count":7,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/183\/revisions"}],"predecessor-version":[{"id":201,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/183\/revisions\/201"}],"wp:attachment":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/media?parent=183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/categories?post=183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/tags?post=183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}