{"id":7071,"date":"2026-03-18T17:03:27","date_gmt":"2026-03-18T16:03:27","guid":{"rendered":"https:\/\/workboot.fr\/ciela\/?page_id=7071"},"modified":"2026-03-18T17:03:28","modified_gmt":"2026-03-18T16:03:28","slug":"docker_install","status":"publish","type":"page","link":"https:\/\/workboot.fr\/ciela\/docker_install\/","title":{"rendered":"docker_install"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">docker_install.sh<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#!\/bin\/bash\n# Script: install-docker-proxy-fixed.sh\n# Usage: bash install-docker-proxy-fixed.sh\n\n# Configuration (identique \u00e0 la v\u00f4tre)\nHTTP_PROXY=\"http:\/\/10.0.0.1:3128\"\nHTTPS_PROXY=\"https:\/\/10.0.0.1:3128\"\nNO_PROXY=\"172.22.1.1,172.22.1.2,172.22.1.3,localhost,127.0.0.1\"\n\necho \"=========================================\"\necho \" Installation Docker derri\u00e8re proxy\"\necho \"=========================================\"\n\n# 1. Installer curl si n\u00e9cessaire\necho \"\ud83d\udce6 Installation de curl...\"\nsudo apt update\nsudo apt install -y curl ca-certificates\n\n# 2. V\u00e9rifier que le proxy est accessible\necho \"\ud83d\udce1 V\u00e9rification du proxy...\"\ncurl --proxy $HTTP_PROXY -I https:\/\/download.docker.com || {\n    echo \"\u274c Proxy inaccessible. V\u00e9rifiez votre configuration.\"\n    exit 1\n}\n\n# 3. Nettoyer les anciennes cl\u00e9s et d\u00e9p\u00f4ts\necho \"\ud83e\uddf9 Nettoyage des anciennes configurations...\"\nsudo rm -f \/usr\/share\/keyrings\/docker-archive-keyring.gpg\nsudo rm -f \/etc\/apt\/sources.list.d\/docker.list\n\n# 4. Ajouter la cl\u00e9 GPG Docker (avec proxy)\necho \"\ud83d\udd11 Ajout de la cl\u00e9 GPG Docker...\"\ncurl --proxy $HTTP_PROXY -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo gpg --dearmor -o \/usr\/share\/keyrings\/docker-archive-keyring.gpg\n\n# 5. Ajouter le d\u00e9p\u00f4t Docker\necho \"\ud83d\udce6 Ajout du d\u00e9p\u00f4t Docker...\"\necho \"deb [arch=$(dpkg --print-architecture) signed-by=\/usr\/share\/keyrings\/docker-archive-keyring.gpg] https:\/\/download.docker.com\/linux\/ubuntu jammy stable\" | sudo tee \/etc\/apt\/sources.list.d\/docker.list > \/dev\/null\n\n# 6. Mettre \u00e0 jour\necho \"\ud83d\udd04 Mise \u00e0 jour des d\u00e9p\u00f4ts...\"\nsudo apt update\n\n# 7. Installer Docker\necho \"\ud83d\ude80 Installation de Docker...\"\nsudo apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-compose\n\n# 8. V\u00e9rifier que Docker est bien install\u00e9 avant de continuer\nif ! command -v docker &amp;> \/dev\/null; then\n    echo \"\u274c Docker n'a pas pu \u00eatre install\u00e9\"\n    exit 1\nfi\n\n# 9. Configurer le proxy pour Docker\necho \"\ud83d\udce1 Configuration du proxy pour Docker...\"\nsudo mkdir -p \/etc\/systemd\/system\/docker.service.d\nsudo tee \/etc\/systemd\/system\/docker.service.d\/proxy.conf > \/dev\/null &lt;&lt;EOF\n[Service]\nEnvironment=\"HTTP_PROXY=$HTTP_PROXY\"\nEnvironment=\"HTTPS_PROXY=$HTTPS_PROXY\"\nEnvironment=\"NO_PROXY=$NO_PROXY\"\nEOF\n\n# 10. Configurer les registres non s\u00e9curis\u00e9s\necho \"\ud83d\udd27 Configuration des registres...\"\nsudo mkdir -p \/etc\/docker\nsudo tee \/etc\/docker\/daemon.json > \/dev\/null &lt;&lt;EOF\n{\n  \"insecure-registries\": [\n    \"docker.io\",\n    \"registry-1.docker.io\",\n    \"index.docker.io\"\n  ]\n}\nEOF\n\n# 11. Red\u00e9marrer Docker\necho \"\ud83d\udd04 Red\u00e9marrage de Docker...\"\nsudo systemctl daemon-reload\nsudo systemctl restart docker\nsudo systemctl enable docker\n\n# 12. Ajouter l'utilisateur au groupe docker\necho \"\ud83d\udc64 Ajout de $USER au groupe docker...\"\nsudo groupadd docker 2>\/dev\/null || true\nsudo usermod -aG docker $USER\n\n# 13. Tester\necho \"\u2705 V\u00e9rification de l'installation...\"\ndocker --version\ndocker-compose --version\n\necho \"\"\necho \"=========================================\"\necho \"\ud83c\udf89 Installation termin\u00e9e avec succ\u00e8s !\"\necho \"=========================================\"\necho \"\ud83d\udcdd \u00c9tape finale :\"\necho \"   1. Ex\u00e9cutez : newgrp docker\"\necho \"   2. Testez : docker run hello-world\"\necho \"\"\necho \"\ud83d\udce1 Si vous avez des probl\u00e8mes de certificat :\"\necho \"   sudo mkdir -p \/etc\/docker\"\necho \"   sudo tee \/etc\/docker\/daemon.json &lt;&lt;EOF\"\necho \"   { \\\"insecure-registries\\\": [\\\"docker.io\\\"] }\"\necho \"   EOF\"\necho \"   sudo systemctl restart docker\"<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>docker_install.sh<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","_uag_custom_page_level_css":"","footnotes":""},"class_list":["post-7071","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>docker_install - workboot<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/workboot.fr\/ciela\/docker_install\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"docker_install - workboot\" \/>\n<meta property=\"og:description\" content=\"docker_install.sh\" \/>\n<meta property=\"og:url\" content=\"https:\/\/workboot.fr\/ciela\/docker_install\/\" \/>\n<meta property=\"og:site_name\" content=\"workboot\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-18T16:03:28+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/docker_install\\\/\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/docker_install\\\/\",\"name\":\"docker_install - workboot\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#website\"},\"datePublished\":\"2026-03-18T16:03:27+00:00\",\"dateModified\":\"2026-03-18T16:03:28+00:00\",\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/workboot.fr\\\/ciela\\\/docker_install\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#website\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/\",\"name\":\"workboot\",\"description\":\"Open Source, Open Minds \",\"publisher\":{\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#organization\",\"name\":\"workboot\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/logo_ciel-dorian-1.png\",\"contentUrl\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/logo_ciel-dorian-1.png\",\"width\":1024,\"height\":950,\"caption\":\"workboot\"},\"image\":{\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"docker_install - workboot","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/workboot.fr\/ciela\/docker_install\/","og_locale":"fr_FR","og_type":"article","og_title":"docker_install - workboot","og_description":"docker_install.sh","og_url":"https:\/\/workboot.fr\/ciela\/docker_install\/","og_site_name":"workboot","article_modified_time":"2026-03-18T16:03:28+00:00","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/workboot.fr\/ciela\/docker_install\/","url":"https:\/\/workboot.fr\/ciela\/docker_install\/","name":"docker_install - workboot","isPartOf":{"@id":"https:\/\/workboot.fr\/ciela\/#website"},"datePublished":"2026-03-18T16:03:27+00:00","dateModified":"2026-03-18T16:03:28+00:00","inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/workboot.fr\/ciela\/docker_install\/"]}]},{"@type":"WebSite","@id":"https:\/\/workboot.fr\/ciela\/#website","url":"https:\/\/workboot.fr\/ciela\/","name":"workboot","description":"Open Source, Open Minds ","publisher":{"@id":"https:\/\/workboot.fr\/ciela\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/workboot.fr\/ciela\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/workboot.fr\/ciela\/#organization","name":"workboot","url":"https:\/\/workboot.fr\/ciela\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/workboot.fr\/ciela\/#\/schema\/logo\/image\/","url":"https:\/\/workboot.fr\/ciela\/wp-content\/uploads\/2025\/05\/logo_ciel-dorian-1.png","contentUrl":"https:\/\/workboot.fr\/ciela\/wp-content\/uploads\/2025\/05\/logo_ciel-dorian-1.png","width":1024,"height":950,"caption":"workboot"},"image":{"@id":"https:\/\/workboot.fr\/ciela\/#\/schema\/logo\/image\/"}}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"admin","author_link":"https:\/\/workboot.fr\/ciela\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":"docker_install.sh","_links":{"self":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages\/7071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/comments?post=7071"}],"version-history":[{"count":1,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages\/7071\/revisions"}],"predecessor-version":[{"id":7073,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages\/7071\/revisions\/7073"}],"wp:attachment":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/media?parent=7071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}