
{"id":3146,"date":"2016-09-08T00:00:00","date_gmt":"2016-09-08T00:00:00","guid":{"rendered":"http:\/\/otava.test\/containers-and-docker-in-a-nutshell\/"},"modified":"2016-09-08T00:00:00","modified_gmt":"2016-09-08T00:00:00","slug":"containers-and-docker-in-a-nutshell","status":"publish","type":"post","link":"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/","title":{"rendered":"Containers and Docker in a nutshell"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-16859\" src=\"https:\/\/otava.test\/wp-content\/uploads\/2019\/04\/containers_117314240.jpg\" alt=\"Understanding Docker containers\" width=\"350\" height=\"233\" \/>Docker has become quite a popular subject lately, with more and more businesses adopting it across industries. So what is Docker, and why is everyone talking about it?<\/p>\n<p>To answer that question, we must first go into containers. They are a type of virtualization technology, with their own CPU, memory and resources like a virtual machine. The difference, though, is that containers share the kernel (the brain) of the host operating system and don\u2019t need a guest operating system. Since they have abstracted away the operating system, they are lighter and more easily stackable than virtual machines. With containers, you get more out of your server because you can put more containers on it.<\/p>\n<p>This is great news for the DevOps industry, because in addition to making more efficient use of hardware, Docker allows developers to deploy across environments (development, testing, quality assurance and production) using the same container image. This helps with <a href=\"https:\/\/www.docker.com\/sites\/default\/files\/RA_CI%20with%20Docker_08.25.2015.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">continuous integration<\/a>, where developers come together and merge all of their working copies with a master main line to determine if there are any code breaks. This helps prevent integration problems and helps development and operations IT be more communicative with each other, improving the quality of the software.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"A_brief_history\"><\/span>A brief history<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Containers have been around since about 2000, when <a href=\"https:\/\/www.freebsd.org\/doc\/handbook\/jails.html\" target=\"_blank\" rel=\"noopener noreferrer\">FreeBSD Jails<\/a> and <a href=\"https:\/\/docs.oracle.com\/cd\/E18440_01\/doc.111\/e18415\/chapter_zones.htm#OPCUG426\" target=\"_blank\" rel=\"noopener noreferrer\">Oracle\u2019s Solaris Zones<\/a> were being used. Then <a href=\"https:\/\/linuxcontainers.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Linux Containers<\/a> (LXC) came along, developed by IBM and Google. LXC made running multiple isolated Linux systems on a single host possible. Then Docker made its appearance, and made LXC easier and quicker to use.<\/p>\n<p>How did they do that? Docker made themselves the equivalent of cloud computing for containers. They are portable and can be easily transported to any machine capable of Docker. Even with LXC, it is possible for an application to be run and tested in one environment but fail when deployed to the server environment, adding complexity (not to mention frustration) to the developer\u2019s life when he has to figure out what\u2019s wrong. With Docker, because the networking and operating system have been abstracted away, code tested in a development environment will automatically work in a production environment.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Using_Docker\"><\/span>Using Docker<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>It\u2019s best to define Docker containers as a <a href=\"https:\/\/blog.phusion.nl\/2015\/01\/20\/baseimage-docker-fat-containers-treating-containers-vms\/\" target=\"_blank\" rel=\"noopener noreferrer\">single process<\/a>, which means each component of your application (database, Web server, etc.) has its own container. You aren\u2019t able to run logging scripts, SSH daemons or agents inside the container. However, this level of granularity allows for better updates, since you can update one component without affecting the others.<\/p>\n<p>There are other tools you can use to help schedule and manage deployment of containers. <a href=\"https:\/\/mesos.apache.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Mesos<\/a> from Apache and <a href=\"https:\/\/kubernetes.io\/\" target=\"_blank\" rel=\"noopener noreferrer\">Kubernetes<\/a> from Google are such technologies, along with Docker\u2019s own <a href=\"https:\/\/docs.docker.com\/swarm\/\" target=\"_blank\" rel=\"noopener noreferrer\">Swarm<\/a>. Each of these are server cluster management software tools and help schedule and manage the deployment of containers. They allow Docker containers to be run at scale with more efficiency, which is especially useful if you have a large application with many components.<\/p>\n<p>It\u2019s safe to say Docker has made containers enormously popular. With the cloud-like flexibility Docker containers provide, they are leading the way in more efficient technology for software developers, and, indirectly, end-users. They help with continuous integration, an intrinsic part of the DevOps movement. In a future post, we\u2019ll discuss ways you can use containers for your business. For more information on Docker, visit their <a href=\"https:\/\/www.docker.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">website<\/a>\u00a0or <a href=\"https:\/\/www.youtube.com\/watch?v=aLipr7tTuA4\" target=\"_blank\" rel=\"noopener noreferrer\">watch this video<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Docker has become quite a popular subject lately, with more and more businesses adopting it across industries. So what is Docker, and why is everyone talking about it? To answer that question, we must first go into containers. They are a type of virtualization technology, with their own CPU, memory and resources like a virtual machine. The difference, though, is that containers share the kernel (the brain) of the host operating system and don\u2019t need a guest operating system. Since they have abstracted away the operating system, they are lighter and more easily stackable than virtual machines. With containers, you get more out of your server because you can put more containers on it. This is great news for the DevOps industry, because in addition to making more efficient use of hardware, Docker allows developers to deploy across environments (development, testing, quality assurance and production) using the same container image. This helps with continuous integration, where developers come together and merge all of their working copies with a master main line to determine if there are any code breaks. This helps prevent integration problems and helps development and operations IT be more communicative with each other, improving the quality of&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"other_category":[],"class_list":["post-3146","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Containers and Docker in a nutshell | OTAVA<\/title>\n<meta name=\"description\" content=\"What are containers? What is Docker? Containers are a type of virtualization technology and Docker has made themselves the cloud computing of containers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Containers and Docker in a nutshell\" \/>\n<meta property=\"og:description\" content=\"What are containers? What is Docker? Containers are a type of virtualization technology and Docker has made themselves the cloud computing of containers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/\" \/>\n<meta property=\"og:site_name\" content=\"OTAVA\" \/>\n<meta property=\"article:published_time\" content=\"2016-09-08T00:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/otava.test\/wp-content\/uploads\/2019\/04\/containers_117314240.jpg\" \/>\n<meta name=\"author\" content=\"Irma Brillantes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Irma Brillantes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/\"},\"author\":{\"name\":\"Irma Brillantes\",\"@id\":\"https:\/\/www.otava.com\/#\/schema\/person\/35774075f8f4fcdd4eae80cb72034263\"},\"headline\":\"Containers and Docker in a nutshell\",\"datePublished\":\"2016-09-08T00:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/\"},\"wordCount\":572,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.otava.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/otava.test\/wp-content\/uploads\/2019\/04\/containers_117314240.jpg\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/\",\"url\":\"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/\",\"name\":\"Containers and Docker in a nutshell | OTAVA\",\"isPartOf\":{\"@id\":\"https:\/\/www.otava.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/otava.test\/wp-content\/uploads\/2019\/04\/containers_117314240.jpg\",\"datePublished\":\"2016-09-08T00:00:00+00:00\",\"description\":\"What are containers? What is Docker? Containers are a type of virtualization technology and Docker has made themselves the cloud computing of containers.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#primaryimage\",\"url\":\"https:\/\/otava.test\/wp-content\/uploads\/2019\/04\/containers_117314240.jpg\",\"contentUrl\":\"https:\/\/otava.test\/wp-content\/uploads\/2019\/04\/containers_117314240.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.otava.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Containers and Docker in a nutshell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.otava.com\/#website\",\"url\":\"https:\/\/www.otava.com\/\",\"name\":\"OTAVA\u00ae\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.otava.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.otava.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.otava.com\/#organization\",\"name\":\"OTAVA\u00ae\",\"url\":\"https:\/\/www.otava.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.otava.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.otava.com\/wp-content\/uploads\/2025\/03\/otava-logo.svg\",\"contentUrl\":\"https:\/\/www.otava.com\/wp-content\/uploads\/2025\/03\/otava-logo.svg\",\"caption\":\"OTAVA\u00ae\"},\"image\":{\"@id\":\"https:\/\/www.otava.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.otava.com\/#\/schema\/person\/35774075f8f4fcdd4eae80cb72034263\",\"name\":\"Irma Brillantes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/d5251bebc1699793a698d1a6158603cb3cdc50a095a12357e42d415b3e5546c2?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d5251bebc1699793a698d1a6158603cb3cdc50a095a12357e42d415b3e5546c2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d5251bebc1699793a698d1a6158603cb3cdc50a095a12357e42d415b3e5546c2?s=96&d=mm&r=g\",\"caption\":\"Irma Brillantes\"},\"url\":\"https:\/\/www.otava.com\/blog\/author\/ibrillantesotava-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Containers and Docker in a nutshell | OTAVA","description":"What are containers? What is Docker? Containers are a type of virtualization technology and Docker has made themselves the cloud computing of containers.","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:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/","og_locale":"en_US","og_type":"article","og_title":"Containers and Docker in a nutshell","og_description":"What are containers? What is Docker? Containers are a type of virtualization technology and Docker has made themselves the cloud computing of containers.","og_url":"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/","og_site_name":"OTAVA","article_published_time":"2016-09-08T00:00:00+00:00","og_image":[{"url":"https:\/\/otava.test\/wp-content\/uploads\/2019\/04\/containers_117314240.jpg","type":"","width":"","height":""}],"author":"Irma Brillantes","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Irma Brillantes","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#article","isPartOf":{"@id":"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/"},"author":{"name":"Irma Brillantes","@id":"https:\/\/www.otava.com\/#\/schema\/person\/35774075f8f4fcdd4eae80cb72034263"},"headline":"Containers and Docker in a nutshell","datePublished":"2016-09-08T00:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/"},"wordCount":572,"commentCount":0,"publisher":{"@id":"https:\/\/www.otava.com\/#organization"},"image":{"@id":"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#primaryimage"},"thumbnailUrl":"https:\/\/otava.test\/wp-content\/uploads\/2019\/04\/containers_117314240.jpg","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/","url":"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/","name":"Containers and Docker in a nutshell | OTAVA","isPartOf":{"@id":"https:\/\/www.otava.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#primaryimage"},"image":{"@id":"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#primaryimage"},"thumbnailUrl":"https:\/\/otava.test\/wp-content\/uploads\/2019\/04\/containers_117314240.jpg","datePublished":"2016-09-08T00:00:00+00:00","description":"What are containers? What is Docker? Containers are a type of virtualization technology and Docker has made themselves the cloud computing of containers.","breadcrumb":{"@id":"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#primaryimage","url":"https:\/\/otava.test\/wp-content\/uploads\/2019\/04\/containers_117314240.jpg","contentUrl":"https:\/\/otava.test\/wp-content\/uploads\/2019\/04\/containers_117314240.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.otava.com\/blog\/containers-and-docker-in-a-nutshell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.otava.com\/"},{"@type":"ListItem","position":2,"name":"Containers and Docker in a nutshell"}]},{"@type":"WebSite","@id":"https:\/\/www.otava.com\/#website","url":"https:\/\/www.otava.com\/","name":"OTAVA\u00ae","description":"","publisher":{"@id":"https:\/\/www.otava.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.otava.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.otava.com\/#organization","name":"OTAVA\u00ae","url":"https:\/\/www.otava.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.otava.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.otava.com\/wp-content\/uploads\/2025\/03\/otava-logo.svg","contentUrl":"https:\/\/www.otava.com\/wp-content\/uploads\/2025\/03\/otava-logo.svg","caption":"OTAVA\u00ae"},"image":{"@id":"https:\/\/www.otava.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.otava.com\/#\/schema\/person\/35774075f8f4fcdd4eae80cb72034263","name":"Irma Brillantes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d5251bebc1699793a698d1a6158603cb3cdc50a095a12357e42d415b3e5546c2?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d5251bebc1699793a698d1a6158603cb3cdc50a095a12357e42d415b3e5546c2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d5251bebc1699793a698d1a6158603cb3cdc50a095a12357e42d415b3e5546c2?s=96&d=mm&r=g","caption":"Irma Brillantes"},"url":"https:\/\/www.otava.com\/blog\/author\/ibrillantesotava-com\/"}]}},"_links":{"self":[{"href":"https:\/\/www.otava.com\/wp-json\/wp\/v2\/posts\/3146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.otava.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.otava.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.otava.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.otava.com\/wp-json\/wp\/v2\/comments?post=3146"}],"version-history":[{"count":0,"href":"https:\/\/www.otava.com\/wp-json\/wp\/v2\/posts\/3146\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.otava.com\/wp-json\/wp\/v2\/media?parent=3146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.otava.com\/wp-json\/wp\/v2\/categories?post=3146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.otava.com\/wp-json\/wp\/v2\/tags?post=3146"},{"taxonomy":"other_category","embeddable":true,"href":"https:\/\/www.otava.com\/wp-json\/wp\/v2\/other_category?post=3146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}