{"id":488,"date":"2020-11-03T12:23:57","date_gmt":"2020-11-03T11:23:57","guid":{"rendered":"https:\/\/itrop.ird.fr\/wordpress\/?page_id=488"},"modified":"2022-04-06T14:50:28","modified_gmt":"2022-04-06T12:50:28","slug":"docker-for-dumpies","status":"publish","type":"page","link":"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/","title":{"rendered":"Tutorials &#8211; Docker for dumpies"},"content":{"rendered":"<h2>Docker for dumpies<\/h2>\n<table class=\"table-contact\">\n<tr>\n<td><img decoding=\"async\" width=\"100%\" src=\"https:\/\/southgreenplatform.github.io\/tutorials\/\/images\/trainings-linux.png\" alt=\"\" \/>\n<\/td>\n<td>\n<h1> Docker For Dummies<\/h1>\n<p>\nThis page describes describes the main commands you need in order to use Docker.\n<\/td>\n<\/tr>\n<\/table>\n<h3>Author(s)<\/h3>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Authors<\/th>\n<th style=\"text-align: left;\">Christine Tranchant-Dubreuil<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\">Research Unit<\/td>\n<td style=\"text-align: left;\">UMR DIADE<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Institut<\/td>\n<td style=\"text-align: left;\"><img decoding=\"async\" src=\"https:\/\/www.ird.fr\/extension\/ird\/design\/ird\/images\/picto\/logo_ird.png\" width=\"20%\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"module1-intro\"><\/a><\/p>\n<h2>Module 1 : Introduction Docker<\/h2>\n<h3>build<\/h3>\n<ul>\n<li>Workflows Developer : production et compilation image (DEV)<\/li>\n<li>outil : Docker toolbox<br \/>\n<blockquote>\n<p>pour Mac et windows (pas demon natif comme sous linux), permet de faire tourner le demon docker qui va tourner dans une machine virtuelle linux (virtual box) &lt;-&gt; engine docker &lt;=&gt; docker for Mac and Windows now : add url)<\/p>\n<\/blockquote>\n<\/li>\n<li>Se compose de :<br \/>\n<blockquote>\n<p>Docker Engine<br \/>\nDocker Compose<br \/>\nDocker Swarm (partie cluster)<br \/>\nDocker Client<br \/>\nKitematic : outil graphique  (pas int\u00e9ressant)<\/p>\n<\/blockquote>\n<\/li>\n<\/ul>\n<h3>ship<\/h3>\n<ul>\n<li>registry services: transport et stockage des images produites pendant la phase de dev<\/li>\n<li>outil :<br \/>\n<blockquote>\n<p><strong> Docker Hub <\/strong><br \/>\n&lt;=&gt; &quot;github&quot; docker = plateforme mutualis\u00e9e en ligne de reference <a href=\"https:\/\/hub.docker.com\/\">https:\/\/hub.docker.com\/<\/a><br \/>\nstocke image sous cloud ou sur son propre r\u00e9seau\/registry<\/p>\n<\/blockquote>\n<\/li>\n<\/ul>\n<blockquote>\n<p><strong> Docker Trusted Registry <\/strong><br \/>\navec interface (commerciale)<br \/>\n--&gt; interface web<br \/>\n--&gt; gestion utilisateur avec acc\u00e8s<\/p>\n<p><strong> Docker Registry open source <\/strong><br \/>\nversion gratuite sans interface<\/p>\n<\/blockquote>\n<h3>run<\/h3>\n<p>en envt dev ou prod : gestion des dockers<\/p>\n<ul>\n<li><strong> docker cloud <\/strong> (plateforme en ligne payante ) qui permet de deployer les conteners cr\u00e9es<\/li>\n<li><strong> docker Universal Control Plane <\/strong> \/ Docker data center<br \/>\n<blockquote>\n<p>deploiement sur cloud, vm ou hybrides<\/p>\n<\/blockquote>\n<\/li>\n<\/ul>\n<p>Rq : toutes ces couches s appuient sur le Docker Engine<\/p>\n<p>===&gt; mettre image<\/p>\n<hr \/>\n<p><a name=\"module1-intro\"><\/a><\/p>\n<h2>Module 2 :<\/h2>\n<h3>Docker Engine<\/h3>\n<ul>\n<li>\n<p>Program that enables containers to be distribued and run<\/p>\n<\/li>\n<li>\n<p>Several natives fonctionalities<\/p>\n<\/li>\n<li>\n<p>keys :<\/p>\n<blockquote>\n<p>NAMESPACES : isolation ps et syst fichiers<br \/>\nCGROUPS : mesurer et limiter utilisation ressources + donner acc\u00e8s \u00e0 des periph\u00e9riques<br \/>\nRegles IPTABLES : communication entre containers sur meme hote + comm entre containers et exterieur<\/p>\n<\/blockquote>\n<\/li>\n<li>\n<p>Archi client \/ server<\/p>\n<\/li>\n<li>\n<p>Docker Containers and Images<\/p>\n<\/li>\n<li>\n<p>Registry and repository<br \/>\nimage<\/p>\n<\/li>\n<li>\n<p>Docker orchestration<\/p>\n<\/li>\n<\/ul>\n<p>3 outils<\/p>\n<ul>\n<li>Docker Machine : provisionne hotes dockers et installer Docker engine dessus<\/li>\n<li>Docker Compose : pour creer et gerer applications multi containers<\/li>\n<li>Docker Engine swarm mode : pour creer des clusters dans la version Engine facilement en 3 commandes<\/li>\n<\/ul>\n<p><a name=\"module3-install\"><\/a><\/p>\n<h2>Module 3 : Installation Docker<\/h2>\n<h3>Docker Engine<\/h3>\n<ul>\n<li>on linux : url \/ cf dia<\/li>\n<li>on mac (&gt; yosemite) \/ window (&gt;)<\/li>\n<li>community edition \/ entreprise edition<\/li>\n<\/ul>\n<p><a name=\"module4-image\"><\/a><\/p>\n<h2>Module 4 : Introduction image<\/h2>\n<p><a name=\"module5-run\"><\/a><\/p>\n<h3>Module 5 : Running and Managing containers<\/h3>\n<h3>Module 6 : Building images<\/h3>\n<p>image<\/p>\n<p>3 ways<\/p>\n<ul>\n<li>commit changes from a container as a new image<\/li>\n<li>build from a DockerFile<\/li>\n<li>import a tarball into Docker as a standalone base layer<\/li>\n<\/ul>\n<h4>Committing changes in a container<\/h4>\n<p>pas automatisable!<\/p>\n<h4>build from a DockerFile<\/h4>\n<ul>\n<li>programs to install<\/li>\n<li>base images to use <strong>FROM<\/strong><\/li>\n<li>commands to run <strong> RUN cmde <\/strong><\/li>\n<\/ul>\n<h3>Module 8 : volume<\/h3>\n<h3>Advanced docker topics<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Docker for dumpies Docker For Dummies This page describes describes the main commands you need in order to use Docker.&hellip; <br \/> <a class=\"read-more\" href=\"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/\">Lire la suite<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1325,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-488","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Tutorials - Docker for dumpies - itrop<\/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:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tutorials - Docker for dumpies - itrop\" \/>\n<meta property=\"og:description\" content=\"Docker for dumpies Docker For Dummies This page describes describes the main commands you need in order to use Docker.&hellip; Lire la suite\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/\" \/>\n<meta property=\"og:site_name\" content=\"itrop\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-06T12:50:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/southgreenplatform.github.io\/tutorials\/\/images\/trainings-linux.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ItropBioinfo\" \/>\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:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/\",\"url\":\"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/\",\"name\":\"Tutorials - Docker for dumpies - itrop\",\"isPartOf\":{\"@id\":\"https:\/\/bioinfo.ird.fr\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/southgreenplatform.github.io\/tutorials\/\/images\/trainings-linux.png\",\"datePublished\":\"2020-11-03T11:23:57+00:00\",\"dateModified\":\"2022-04-06T12:50:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/#primaryimage\",\"url\":\"https:\/\/southgreenplatform.github.io\/tutorials\/\/images\/trainings-linux.png\",\"contentUrl\":\"https:\/\/southgreenplatform.github.io\/tutorials\/\/images\/trainings-linux.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/bioinfo.ird.fr\/index.php\/en\/front-page-2\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorials &#8211; FR\",\"item\":\"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Tutorials &#8211; Docker for dumpies\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/bioinfo.ird.fr\/#website\",\"url\":\"https:\/\/bioinfo.ird.fr\/\",\"name\":\"itrop\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/bioinfo.ird.fr\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/bioinfo.ird.fr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/bioinfo.ird.fr\/#organization\",\"name\":\"i-Trop\",\"url\":\"https:\/\/bioinfo.ird.fr\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/bioinfo.ird.fr\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/bioinfo.ird.fr\/wp-content\/uploads\/2021\/10\/i-tropTwt5.png\",\"contentUrl\":\"https:\/\/bioinfo.ird.fr\/wp-content\/uploads\/2021\/10\/i-tropTwt5.png\",\"width\":1356,\"height\":1356,\"caption\":\"i-Trop\"},\"image\":{\"@id\":\"https:\/\/bioinfo.ird.fr\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/ItropBioinfo\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tutorials - Docker for dumpies - itrop","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:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/","og_locale":"fr_FR","og_type":"article","og_title":"Tutorials - Docker for dumpies - itrop","og_description":"Docker for dumpies Docker For Dummies This page describes describes the main commands you need in order to use Docker.&hellip; Lire la suite","og_url":"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/","og_site_name":"itrop","article_modified_time":"2022-04-06T12:50:28+00:00","og_image":[{"url":"https:\/\/southgreenplatform.github.io\/tutorials\/\/images\/trainings-linux.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@ItropBioinfo","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/","url":"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/","name":"Tutorials - Docker for dumpies - itrop","isPartOf":{"@id":"https:\/\/bioinfo.ird.fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/#primaryimage"},"image":{"@id":"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/#primaryimage"},"thumbnailUrl":"https:\/\/southgreenplatform.github.io\/tutorials\/\/images\/trainings-linux.png","datePublished":"2020-11-03T11:23:57+00:00","dateModified":"2022-04-06T12:50:28+00:00","breadcrumb":{"@id":"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/#primaryimage","url":"https:\/\/southgreenplatform.github.io\/tutorials\/\/images\/trainings-linux.png","contentUrl":"https:\/\/southgreenplatform.github.io\/tutorials\/\/images\/trainings-linux.png"},{"@type":"BreadcrumbList","@id":"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/docker-for-dumpies\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/bioinfo.ird.fr\/index.php\/en\/front-page-2\/"},{"@type":"ListItem","position":2,"name":"Tutorials &#8211; FR","item":"https:\/\/bioinfo.ird.fr\/index.php\/tutorials-fr\/"},{"@type":"ListItem","position":3,"name":"Tutorials &#8211; Docker for dumpies"}]},{"@type":"WebSite","@id":"https:\/\/bioinfo.ird.fr\/#website","url":"https:\/\/bioinfo.ird.fr\/","name":"itrop","description":"","publisher":{"@id":"https:\/\/bioinfo.ird.fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bioinfo.ird.fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/bioinfo.ird.fr\/#organization","name":"i-Trop","url":"https:\/\/bioinfo.ird.fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/bioinfo.ird.fr\/#\/schema\/logo\/image\/","url":"https:\/\/bioinfo.ird.fr\/wp-content\/uploads\/2021\/10\/i-tropTwt5.png","contentUrl":"https:\/\/bioinfo.ird.fr\/wp-content\/uploads\/2021\/10\/i-tropTwt5.png","width":1356,"height":1356,"caption":"i-Trop"},"image":{"@id":"https:\/\/bioinfo.ird.fr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/ItropBioinfo"]}]}},"_links":{"self":[{"href":"https:\/\/bioinfo.ird.fr\/index.php\/wp-json\/wp\/v2\/pages\/488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bioinfo.ird.fr\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bioinfo.ird.fr\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bioinfo.ird.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bioinfo.ird.fr\/index.php\/wp-json\/wp\/v2\/comments?post=488"}],"version-history":[{"count":2,"href":"https:\/\/bioinfo.ird.fr\/index.php\/wp-json\/wp\/v2\/pages\/488\/revisions"}],"predecessor-version":[{"id":730,"href":"https:\/\/bioinfo.ird.fr\/index.php\/wp-json\/wp\/v2\/pages\/488\/revisions\/730"}],"up":[{"embeddable":true,"href":"https:\/\/bioinfo.ird.fr\/index.php\/wp-json\/wp\/v2\/pages\/1325"}],"wp:attachment":[{"href":"https:\/\/bioinfo.ird.fr\/index.php\/wp-json\/wp\/v2\/media?parent=488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}