{"id":733,"date":"2024-06-24T11:49:11","date_gmt":"2024-06-24T09:49:11","guid":{"rendered":"https:\/\/procyb.fr\/?p=733"},"modified":"2024-06-24T16:21:55","modified_gmt":"2024-06-24T14:21:55","slug":"docker-install","status":"publish","type":"post","link":"https:\/\/procyb.fr\/index.php\/2024\/06\/24\/docker-install\/","title":{"rendered":"DOCKER INSTALL"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-left\"><strong>1-<\/strong> <strong>Installation de Docker<\/strong> <strong>sur Debian\/Ubuntu<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-main-color\">#si besoin, effacer versions pr\u00e9c\u00e9dentes de Docker <\/mark><\/strong>\nsudo apt-get remove docker docker-engine <a href=\"http:\/\/docker.io\/\">docker.io<\/a> containerd runc\n\n<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-main-color\">#install<\/mark><\/strong>\nsudo apt-get update\nsudo apt-get install \\\nca-certificates \\\ncurl \\\ngnupg \\\nlsb-release\nsudo mkdir -p \/etc\/apt\/keyrings\ncurl -fsSL https:\/\/download.docker.com\/linux\/debian\/gpg | sudo gpg --dearmor -o \/etc\/apt\/keyrings\/docker.gpg\necho \\\n\"deb &#91;arch=$(dpkg --print-architecture) signed-by=\/etc\/apt\/keyrings\/docker.gpg] https:\/\/download.docker.com\/linux\/debian \\\n$(lsb_release -cs) stable\" | sudo tee \/etc\/apt\/sources.list.d\/docker.list &gt; \/dev\/null\nsudo apt-get update\nsudo apt-get install docker-ce docker-ce-cli &#91;containerd.io](http:\/\/containerd.io\/) docker-compose-plugin\nsudo groupadd docker\nsudo usermod -aG docker <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-main-color\">\"<em>choix d'un utilisateur<\/em>\"<\/mark>\nnewgrp docker #pour activer le nouveau chgt aux groupes\nsudo systemctl enable docker.service\nsudo systemctl enable containerd.service<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2-<\/strong> <strong>Installation d&rsquo;un container sur Kali Linux<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code>sudo docker pull kalilinux\/kali-rolling\nsudo docker run --name kaliDocker --tty --interactive kalilinux\/kali-rolling\nexit\nsudo docker start kaliDocker\nsudo docker attach kaliDocker #pour le controller directement depuis notre terminal\napt update &amp;&amp; apt -y install kali-linux-headless<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1- Installation de Docker sur Debian\/Ubuntu 2- Installation d&rsquo;un container sur Kali Linux <span class=\"more-tag mt-15 is-style-arrow\"><a class=\"more-link wp-block-button__link\" href=\"https:\/\/procyb.fr\/index.php\/2024\/06\/24\/docker-install\/\">...<span class=\"screen-reader-text\"> \"DOCKER INSTALL\"<\/span><\/a><\/span><!-- .more-tag --><\/p>\n","protected":false},"author":2,"featured_media":747,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[22],"tags":[24,23],"class_list":["post-733","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker","tag-docker","tag-installation"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/procyb.fr\/wp-content\/uploads\/2024\/06\/dock-1.png?fit=243%2C208&ssl=1","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/procyb.fr\/index.php\/wp-json\/wp\/v2\/posts\/733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/procyb.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/procyb.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/procyb.fr\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/procyb.fr\/index.php\/wp-json\/wp\/v2\/comments?post=733"}],"version-history":[{"count":11,"href":"https:\/\/procyb.fr\/index.php\/wp-json\/wp\/v2\/posts\/733\/revisions"}],"predecessor-version":[{"id":749,"href":"https:\/\/procyb.fr\/index.php\/wp-json\/wp\/v2\/posts\/733\/revisions\/749"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/procyb.fr\/index.php\/wp-json\/wp\/v2\/media\/747"}],"wp:attachment":[{"href":"https:\/\/procyb.fr\/index.php\/wp-json\/wp\/v2\/media?parent=733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/procyb.fr\/index.php\/wp-json\/wp\/v2\/categories?post=733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/procyb.fr\/index.php\/wp-json\/wp\/v2\/tags?post=733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}