{"id":1127,"date":"2022-09-05T18:58:01","date_gmt":"2022-09-05T23:58:01","guid":{"rendered":"https:\/\/techexperiencemx.com\/?p=1127"},"modified":"2022-11-19T18:33:35","modified_gmt":"2022-11-20T00:33:35","slug":"intalar-docker-en-ubuntu","status":"publish","type":"post","link":"https:\/\/techexperiencemx.com\/?p=1127","title":{"rendered":"Intalar Docker en Ubuntu"},"content":{"rendered":"\n<p>Hola amigos hoy vamos a instalar docker este magnifico gestor de contenedores en una instancia creada en nuestro VPS de Oracle Cloud de forma gratuita, si no la tienes corre a crear una cuenta en Oracle Cloud ya que es muy f\u00e1cil y de forma gratuita <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>1: Actualizar la base de datos de Ubuntu<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-ast-global-color-0-color\">sudo apt update<\/mark><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/1.png\" alt=\"\" class=\"wp-image-1128\" width=\"566\" height=\"368\" srcset=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/1.png 566w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/1-300x195.png 300w\" sizes=\"auto, (max-width: 566px) 100vw, 566px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Instalar las dependencias que permiten usar paquetes a trav\u00e9s de HTTPS<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-ast-global-color-0-color\">sudo apt install apt-transport-https ca-certificates curl software-properties-common<\/mark><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/2.png\" alt=\"\" class=\"wp-image-1129\" width=\"570\" height=\"367\" srcset=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/2.png 570w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/2-300x193.png 300w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Agregar la clave GPG de Docker&nbsp;y Repositorios<\/h2>\n\n\n\n<p>Es un recurso de seguridad que garantiza la autenticidad de los archivos de instalaci\u00f3n<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-ast-global-color-0-color\">curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo gpg --dearmor -o \/usr\/share\/keyrings\/docker-archive-keyring.gpg<\/mark><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/3-1.png\" alt=\"\" class=\"wp-image-1131\" width=\"565\" height=\"373\" srcset=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/3-1.png 565w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/3-1-300x198.png 300w\" sizes=\"auto, (max-width: 565px) 100vw, 565px\" \/><\/figure>\n\n\n\n<p>Agregamos Repositorios <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-ast-global-color-0-color\">echo \"deb [arch=$(dpkg --print-architecture) signed-by=\/usr\/share\/keyrings\/docker-archive-keyring.gpg] https:\/\/download.docker.com\/linux\/ubuntu $(lsb_release -cs) stable\" | sudo tee \/etc\/apt\/sources.list.d\/docker.list > \/dev\/null<\/mark><\/pre>\n\n\n\n<p>Actualizamos la informaci\u00f3n del repositorio<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-ast-global-color-0-color\">sudo apt update<\/mark><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/4.png\" alt=\"\" class=\"wp-image-1132\" width=\"569\" height=\"368\" srcset=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/4.png 569w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/4-300x194.png 300w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><\/figure>\n\n\n\n<p>Nos Aseguramos de estar instalando docker desde su repositorio oficial con el siguiente comando <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-ast-global-color-0-color\">apt-cache policy docker-ce<\/mark><\/pre>\n\n\n\n<p>Instalamos Docker <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-ast-global-color-0-color\">sudo apt install docker-ce<\/mark><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/5.png\" alt=\"\" class=\"wp-image-1133\" width=\"629\" height=\"362\" srcset=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/5.png 629w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/5-300x173.png 300w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/6.png\" alt=\"\" class=\"wp-image-1134\" width=\"630\" height=\"364\" srcset=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/6.png 630w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/6-300x173.png 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<p>Por Ultimo Comprobamos el estado de Docker<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-ast-global-color-0-color\">sudo systemctl status docker<\/mark><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/7.png\" alt=\"\" class=\"wp-image-1135\" width=\"624\" height=\"371\" srcset=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/7.png 624w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/7-300x178.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Hola amigos hoy vamos a instalar docker este magnifico gestor de contenedores en una instancia creada en nuestro VPS de Oracle Cloud de forma gratuita, si no la tienes corre a crear una cuenta en Oracle Cloud ya que es muy f\u00e1cil y de forma gratuita 1: Actualizar la base de datos de Ubuntu sudo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1138,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[21],"tags":[],"class_list":["post-1127","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vps-cloud"],"_links":{"self":[{"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/posts\/1127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1127"}],"version-history":[{"count":0,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/posts\/1127\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/media\/1138"}],"wp:attachment":[{"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}