{"id":90162,"date":"2020-06-09T15:00:00","date_gmt":"2020-06-09T12:00:00","guid":{"rendered":"https:\/\/examples.javacodegeeks.com\/?p=90162"},"modified":"2020-06-30T11:16:14","modified_gmt":"2020-06-30T08:16:14","slug":"what-is-docker-in-devops","status":"publish","type":"post","link":"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/","title":{"rendered":"What is Docker in DevOps"},"content":{"rendered":"<h2 class=\"wp-block-heading\">1. Introduction<\/h2>\n<p>In this article, we will explain What is Docker using detailed DevOps examples.<\/p>\n<h2 class=\"wp-block-heading\">2. Docker in Devops<\/h2>\n<p>It is used in DevOps as a software package to create containers for deployment.  It helps in handling changes in code, requirements, operating systems, and cloud environment.<\/p>\n<\/p>\n<h3 class=\"wp-block-heading\">2.1 Prerequisites<\/h3>\n<p><code>Docker<\/code> software is required. Apache Tomcat image is obtained from <code>Docker Hub<\/code>.<\/p>\n<h3 class=\"wp-block-heading\">2.2 Download<\/h3>\n<p>You can download <code>Docker<\/code> from the <a href=\"https:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html\">site<\/a>&nbsp;. <\/p>\n<h3 class=\"wp-block-heading\">2.3 Setup for Docker<\/h3>\n<p>Below is the setup check commands after installing the <code>docker package<\/code>.<\/p>\n<p>You can check the docker installation by running the hello-world docker repo which is located at the <a rel=\"noreferrer noopener\" href=\"https:\/\/hub.docker.com\/_\/hello-world\/\" target=\"_blank\">docker hub<\/a>.<\/p>\n<p><span style=\"text-decoration: underline\"><em>Docker Hello-World<\/em><\/span><\/p>\n<pre class=\"brush:plain\">docker run hello-world\n<\/pre>\n<p>The output of the above command will be as below:<\/p>\n<p><span style=\"text-decoration: underline\"><em>Output<\/em><\/span><\/p>\n<pre class=\"brush:plain\">Hello from Docker!\nThis message shows that your installation appears to be working correctly.\n\nTo generate this message, Docker took the following steps:\n 1. The Docker client contacted the Docker daemon.\n 2. The Docker daemon pulled the \"hello-world\" image from the Docker Hub.\n    (amd64)\n 3. The Docker daemon created a new container from that image which runs the\n    executable that produces the output you are currently reading.\n 4. The Docker daemon streamed that output to the Docker client, which sent it\n    to your terminal.\n\nTo try something more ambitious, you can run an Ubuntu container with:\n $ docker run -it ubuntu bash\n\nShare images, automate workflows, and more with a free Docker ID:\n https:\/\/hub.docker.com\/\n\nFor more examples and ideas, visit:\n https:\/\/docs.docker.com\/get-started\/\n\n\n<\/pre>\n<h3 class=\"wp-block-heading\">2.4  Docker<\/h3>\n<p>You can create your own Repo and images. Dockerfile details are shown below:<\/p>\n<p><span style=\"text-decoration: underline\"><em>Dockerfile<\/em><\/span><\/p>\n<pre class=\"brush:plain\">FROM busybox\nCMD echo \"Greetings! Docker image is created.\"\n<\/pre>\n<p>  The command to create <code>docker<\/code> is shown below:<\/p>\n<p><span style=\"text-decoration: underline\"><em>Docker Repo creation<\/em><\/span><\/p>\n<pre class=\"brush:plain\">docker build -t bhagvanarch\/docker-repo .\n<\/pre>\n<p>The output of the above command will be as below:<\/p>\n<p><span style=\"text-decoration: underline\"><em>Docker repo execution<\/em><\/span><\/p>\n<pre class=\"brush:plain\">Sending build context to Docker daemon  2.048kB\nStep 1\/2 : FROM busybox\nlatest: Pulling from library\/busybox\n76df9210b28c: Pull complete \nDigest: sha256:95cf004f559831017cdf4628aaf1bb30133677be8702a8c5f2994629f637a209\nStatus: Downloaded newer image for busybox:latest\n ---&gt; 1c35c4412082\nStep 2\/2 : CMD echo \"Greetings! Docker image is created.\"\n ---&gt; Running in bc9f0d8ac3d7\nRemoving intermediate container bc9f0d8ac3d7\n ---&gt; 166dae6f16f8\nSuccessfully built 166dae6f16f8\nSuccessfully tagged bhagvanarch\/docker-repo:latest\n<\/pre>\n<p>You can test the <code>docker<\/code> image created by using the command below:<\/p>\n<p><span style=\"text-decoration: underline\"><em>Docker Testing<\/em><\/span><\/p>\n<pre class=\"brush:plain\">docker run bhagvanarch\/docker-repo\n<\/pre>\n<p>The output of the above command will be as below:<\/p>\n<p><span style=\"text-decoration: underline\"><em>Docker Testing<\/em><\/span><\/p>\n<pre class=\"brush:plain\">Greetings! Docker image is created.\n<\/pre>\n<p>You can submit the image to the repo by pushing using the command below:<\/p>\n<p><span style=\"text-decoration: underline\"><em>Docker Repo Push<\/em><\/span><\/p>\n<pre class=\"brush:plain\">docker push bhagvanarch\/docker-repo\n<\/pre>\n<p>The output of the above command will be as below:<\/p>\n<p><span style=\"text-decoration: underline\"><em>Push Command Output<\/em><\/span><\/p>\n<pre class=\"brush:plain\">The push refers to repository [docker.io\/bhagvanarch\/docker-repo]\n1be74353c3d0: Mounted from library\/busybox \nlatest: digest: sha256:dec937fd6c36b20991e3e51147d3e4553d5d7ec9d0d70627a4f2cd9c48153be5 size: 527\n<\/pre>\n<h3 class=\"wp-block-heading\">2.5 Devops<\/h3>\n<p>DevOps is the automation of development, testing, and deployment processes in software engineering.  It helps in continuous delivery, faster issue resolution, and cutting down the maintenance challenges.  DevOps software helps in creating features quickly and delivering them. It helps in improving the communication and collaboration between teams. DevOps software tools such as Ansible, Jenkins, Puppet, GitLab, Vagrant, and Chef. <code>Docker<\/code> is another popular Devops software tool.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<h3 class=\"wp-block-heading\">2.6 Docker usage in Devops<\/h3>\n<p><code>Docker<\/code> solves the issues related to development and operations. It is becoming a popular DevOps software package. <code>Docker<\/code> helps in creating development, testing, staging, and production environments to handle the changes in the software. Feature testing and functioning are enabled by the <code>Docker Tool<\/code>.<\/p>\n<p>The base <code>Docker image<\/code> is created. Multi-stage builds can be modeled as the layers in the <code>docker image<\/code>. The base image can be extended by having common components and added components. <code>Docker images<\/code> can be tagged for different versions of releases. <code>Docker images<\/code> can be enabled for debugging and monitoring.<\/p>\n<p>You can start creating a docker image for a sample web app. The Dockerfile details are provided below:<\/p>\n<p><span style=\"text-decoration: underline\"><em>Dockerfile<\/em><\/span><\/p>\n<pre class=\"brush:plain\">FROM tomcat:8.0-alpine\n\nLABEL maintainer=\"bhagvanarch@gmail.com\"\n\nADD sample.war \/usr\/local\/tomcat\/webapps\/\n\nEXPOSE 8080\n\nCMD [\"catalina.sh\", \"run\"]\n<\/pre>\n<p>You can start creating a web app <code>docker<\/code> image by using the command below:<\/p>\n<p><span style=\"text-decoration: underline\"><em>Docker build command<\/em><\/span><\/p>\n<pre class=\"brush:plain\">docker build -t webapp .\n<\/pre>\n<p>The output of the above command will be as below:<\/p>\n<p><span style=\"text-decoration: underline\"><em>Docker build output <\/em><\/span><\/p>\n<pre class=\"brush:plain\">Sending build context to Docker daemon  7.168kB\nStep 1\/5 : FROM tomcat:8.0-alpine\n8.0-alpine: Pulling from library\/tomcat\n4fe2ade4980c: Pull complete \n6fc58a8d4ae4: Pull complete \n7d9bd64c803b: Pull complete \na22aedc5ac11: Pull complete \n5bde63ae3587: Pull complete \n69cb0c9b940a: Pull complete \nDigest: sha256:d02a16c0147fcae13d812fa670a4b3c9944f5328b10a5a463ad697d2aa5bb063\nStatus: Downloaded newer image for tomcat:8.0-alpine\n ---&gt; 624fb61775c3\nStep 2\/5 : LABEL maintainer=\"bhagvanarch@gmail.com\"\n ---&gt; Running in 25fa21fa57f2\nRemoving intermediate container 25fa21fa57f2\n ---&gt; a4d46b9470b0\nStep 3\/5 : ADD sample.war \/usr\/local\/tomcat\/webapps\/\n ---&gt; 69fe25e523b8\nStep 4\/5 : EXPOSE 8080\n ---&gt; Running in 5e392e84036b\nRemoving intermediate container 5e392e84036b\n ---&gt; fd7d13957b79\nStep 5\/5 : CMD [\"catalina.sh\", \"run\"]\n ---&gt; Running in cd3b3f4d3ef0\nRemoving intermediate container cd3b3f4d3ef0\n ---&gt; db71db63b811\nSuccessfully built db71db63b811\nSuccessfully tagged webapp:latest\n<\/pre>\n<p>You can run the <code>docker<\/code> based web app  by using the command below:<\/p>\n<p><span style=\"text-decoration: underline\"><em>Docker WebApp Run Command <\/em><\/span><\/p>\n<pre class=\"brush:plain\">docker run -p 80:8080 webapp\n<\/pre>\n<p>The output of the above command will be as below:<\/p>\n<p><span style=\"text-decoration: underline\"><em>Web app Command Output<\/em><\/span><\/p>\n<pre class=\"brush:plain\">05-Jun-2020 18:56:02.032 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat\/8.0.53\n05-Jun-2020 18:56:02.058 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Jun 29 2018 14:42:45 UTC\n05-Jun-2020 18:56:02.058 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.53.0\n05-Jun-2020 18:56:02.058 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux\n05-Jun-2020 18:56:02.063 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            4.9.125-linuxkit\n05-Jun-2020 18:56:02.080 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64\n05-Jun-2020 18:56:02.080 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             \/usr\/lib\/jvm\/java-1.7-openjdk\/jre\n05-Jun-2020 18:56:02.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.7.0_181-b01\n05-Jun-2020 18:56:02.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation\n05-Jun-2020 18:56:02.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         \/usr\/local\/tomcat\n05-Jun-2020 18:56:02.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         \/usr\/local\/tomcat\n05-Jun-2020 18:56:02.087 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=\/usr\/local\/tomcat\/conf\/logging.properties\n05-Jun-2020 18:56:02.088 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager\n05-Jun-2020 18:56:02.088 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048\n05-Jun-2020 18:56:02.126 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources\n05-Jun-2020 18:56:02.127 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=\n05-Jun-2020 18:56:02.127 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=\/usr\/local\/tomcat\n05-Jun-2020 18:56:02.128 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=\/usr\/local\/tomcat\n05-Jun-2020 18:56:02.129 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=\/usr\/local\/tomcat\/temp\n05-Jun-2020 18:56:02.130 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.17 using APR version 1.6.3.\n05-Jun-2020 18:56:02.134 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].\n05-Jun-2020 18:56:02.161 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2o  27 Mar 2018)\n05-Jun-2020 18:56:03.279 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [\"http-apr-8080\"]\n05-Jun-2020 18:56:03.355 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [\"ajp-apr-8009\"]\n05-Jun-2020 18:56:03.360 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 5864 ms\n05-Jun-2020 18:56:03.899 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina\n05-Jun-2020 18:56:03.902 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat\/8.0.53\n05-Jun-2020 18:56:04.130 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive \/usr\/local\/tomcat\/webapps\/sample.war\n05-Jun-2020 18:56:09.276 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive \/usr\/local\/tomcat\/webapps\/sample.war has finished in 5,141 ms\n05-Jun-2020 18:56:09.282 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory \/usr\/local\/tomcat\/webapps\/manager\n05-Jun-2020 18:56:09.456 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory \/usr\/local\/tomcat\/webapps\/manager has finished in 174 ms\n05-Jun-2020 18:56:09.457 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory \/usr\/local\/tomcat\/webapps\/docs\n05-Jun-2020 18:56:09.531 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory \/usr\/local\/tomcat\/webapps\/docs has finished in 74 ms\n05-Jun-2020 18:56:09.533 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory \/usr\/local\/tomcat\/webapps\/examples\n05-Jun-2020 18:56:11.175 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory \/usr\/local\/tomcat\/webapps\/examples has finished in 1,642 ms\n05-Jun-2020 18:56:11.177 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory \/usr\/local\/tomcat\/webapps\/host-manager\n05-Jun-2020 18:56:11.295 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory \/usr\/local\/tomcat\/webapps\/host-manager has finished in 118 ms\n05-Jun-2020 18:56:11.296 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory \/usr\/local\/tomcat\/webapps\/ROOT\n05-Jun-2020 18:56:11.449 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory \/usr\/local\/tomcat\/webapps\/ROOT has finished in 152 ms\n05-Jun-2020 18:56:11.512 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [\"http-apr-8080\"]\n05-Jun-2020 18:56:11.571 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [\"ajp-apr-8009\"]\n05-Jun-2020 18:56:11.627 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 8267 ms\n<\/pre>\n<p>The tomcat server can be accessed at <a href=\"http:\/\/localhost.\">http:\/\/localhost.<\/a> (port 80 is the default port). The output is shown below:[ulp id=&#8217;6PVIvOz3kDbYmNRn&#8217;]<\/p>\n<figure class=\"wp-block-image size-full is-style-default\"><img decoding=\"async\" width=\"800\" height=\"474\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/06\/tomcat_page.jpg\" alt=\"What is Docker - Tomcat Web page\" class=\"wp-image-90516\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/06\/tomcat_page.jpg 800w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/06\/tomcat_page-300x178.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/06\/tomcat_page-768x455.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption>Tomcat Web page<\/figcaption><\/figure>\n<p>The sample web app bundled with tomcat can be accessed at <a href=\"http:\/\/localhost\/sample\/. The webpage output is shown in the image bel\">http:\/\/localhost\/sample\/. <\/a>The webpage output is shown in the image below:<\/p>\n<figure class=\"wp-block-image size-full is-style-default\"><img decoding=\"async\" width=\"800\" height=\"464\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/06\/sample_web_app.jpg\" alt=\"What is Docker - Sample Web app page\" class=\"wp-image-90517\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/06\/sample_web_app.jpg 800w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/06\/sample_web_app-300x174.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/06\/sample_web_app-768x445.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption>Sample Web app page<\/figcaption><\/figure>\n<h2 class=\"wp-block-heading\">3. Download the Source Code<\/h2>\n<div class=\"download\"><strong>Download<\/strong><br \/>\nYou can download the full source code of this example here: <a href=\"https:\/\/examples.javacodegeeks.com\/dockerindevops\/\"><strong>What is Docker in DevOps<\/strong><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>1. Introduction In this article, we will explain What is Docker using detailed DevOps examples. 2. Docker in Devops It is used in DevOps as a software package to create containers for deployment. It helps in handling changes in code, requirements, operating systems, and cloud environment. 2.1 Prerequisites Docker software is required. Apache Tomcat image &hellip;<\/p>\n","protected":false},"author":31,"featured_media":31013,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1354],"tags":[1318],"class_list":["post-90162","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker","tag-devops"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is Docker in DevOps - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"1. Introduction In this article, we will explain What is Docker using detailed DevOps examples. 2. Docker in Devops It is used in DevOps as a software\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Docker in DevOps - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"1. Introduction In this article, we will explain What is Docker using detailed DevOps examples. 2. Docker in Devops It is used in DevOps as a software\" \/>\n<meta property=\"og:url\" content=\"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/\" \/>\n<meta property=\"og:site_name\" content=\"Examples Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/bhagvank\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-09T12:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-30T08:16:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Bhagvan Kommadi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bhaggu\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bhagvan Kommadi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/\"},\"author\":{\"name\":\"Bhagvan Kommadi\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/4575ae335b8ff016be62c3b927d5d5e6\"},\"headline\":\"What is Docker in DevOps\",\"datePublished\":\"2020-06-09T12:00:00+00:00\",\"dateModified\":\"2020-06-30T08:16:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/\"},\"wordCount\":508,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg\",\"keywords\":[\"devops\"],\"articleSection\":[\"Docker\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/\",\"name\":\"What is Docker in DevOps - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg\",\"datePublished\":\"2020-06-09T12:00:00+00:00\",\"dateModified\":\"2020-06-30T08:16:14+00:00\",\"description\":\"1. Introduction In this article, we will explain What is Docker using detailed DevOps examples. 2. Docker in Devops It is used in DevOps as a software\",\"breadcrumb\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#primaryimage\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/examples.javacodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DevOps\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/devops\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Docker\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/devops\/docker\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"What is Docker in DevOps\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Examples and Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/javacodegeeks\",\"https:\/\/x.com\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/4575ae335b8ff016be62c3b927d5d5e6\",\"name\":\"Bhagvan Kommadi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2019\/02\/bhagvan.-kommadi-96x96.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2019\/02\/bhagvan.-kommadi-96x96.jpg\",\"caption\":\"Bhagvan Kommadi\"},\"description\":\"Bhagvan Kommadi is the Founder of Architect Corner &amp; has around 20 years\u2019 experience in the industry, ranging from large scale enterprise development to helping incubate software product start-ups. He has done Masters in Industrial Systems Engineering at Georgia Institute of Technology (1997) and Bachelors in Aerospace Engineering from Indian Institute of Technology, Madras (1993). He is member of IFX forum,Oracle JCP and participant in Java Community Process. He founded Quantica Computacao, the first quantum computing startup in India. Markets and Markets have positioned Quantica Computacao in \u2018Emerging Companies\u2019 section of Quantum Computing quadrants. Bhagvan has engineered and developed simulators and tools in the area of quantum technology using IBM Q, Microsoft Q# and Google QScript. He has reviewed the Manning book titled : \\\"Machine Learning with TensorFlow\u201d. He is also the author of Packt Publishing book - \\\"Hands-On Data Structures and Algorithms with Go\\\".He is member of IFX forum,Oracle JCP and participant in Java Community Process. He is member of the MIT Technology Review Global Panel.\",\"sameAs\":[\"http:\/\/www.architectcorner.com\",\"https:\/\/www.facebook.com\/bhagvank\",\"https:\/\/in.linkedin.com\/pub\/bhagvan-kommadi\/0\/3a6\/b46\",\"https:\/\/x.com\/bhaggu\"],\"url\":\"https:\/\/examples.javacodegeeks.com\/author\/bhagvan-kommadi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Docker in DevOps - Java Code Geeks","description":"1. Introduction In this article, we will explain What is Docker using detailed DevOps examples. 2. Docker in Devops It is used in DevOps as a software","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:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/","og_locale":"en_US","og_type":"article","og_title":"What is Docker in DevOps - Java Code Geeks","og_description":"1. Introduction In this article, we will explain What is Docker using detailed DevOps examples. 2. Docker in Devops It is used in DevOps as a software","og_url":"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/","og_site_name":"Examples Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_author":"https:\/\/www.facebook.com\/bhagvank","article_published_time":"2020-06-09T12:00:00+00:00","article_modified_time":"2020-06-30T08:16:14+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg","type":"image\/jpeg"}],"author":"Bhagvan Kommadi","twitter_card":"summary_large_image","twitter_creator":"@bhaggu","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Bhagvan Kommadi","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#article","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/"},"author":{"name":"Bhagvan Kommadi","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/4575ae335b8ff016be62c3b927d5d5e6"},"headline":"What is Docker in DevOps","datePublished":"2020-06-09T12:00:00+00:00","dateModified":"2020-06-30T08:16:14+00:00","mainEntityOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/"},"wordCount":508,"commentCount":0,"publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg","keywords":["devops"],"articleSection":["Docker"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/","url":"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/","name":"What is Docker in DevOps - Java Code Geeks","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#primaryimage"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg","datePublished":"2020-06-09T12:00:00+00:00","dateModified":"2020-06-30T08:16:14+00:00","description":"1. Introduction In this article, we will explain What is Docker using detailed DevOps examples. 2. Docker in Devops It is used in DevOps as a software","breadcrumb":{"@id":"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#primaryimage","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/examples.javacodegeeks.com\/what-is-docker-in-devops\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/examples.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"DevOps","item":"https:\/\/examples.javacodegeeks.com\/category\/devops\/"},{"@type":"ListItem","position":3,"name":"Docker","item":"https:\/\/examples.javacodegeeks.com\/category\/devops\/docker\/"},{"@type":"ListItem","position":4,"name":"What is Docker in DevOps"}]},{"@type":"WebSite","@id":"https:\/\/examples.javacodegeeks.com\/#website","url":"https:\/\/examples.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Examples and Code Snippets","publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/examples.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/examples.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/4575ae335b8ff016be62c3b927d5d5e6","name":"Bhagvan Kommadi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2019\/02\/bhagvan.-kommadi-96x96.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2019\/02\/bhagvan.-kommadi-96x96.jpg","caption":"Bhagvan Kommadi"},"description":"Bhagvan Kommadi is the Founder of Architect Corner &amp; has around 20 years\u2019 experience in the industry, ranging from large scale enterprise development to helping incubate software product start-ups. He has done Masters in Industrial Systems Engineering at Georgia Institute of Technology (1997) and Bachelors in Aerospace Engineering from Indian Institute of Technology, Madras (1993). He is member of IFX forum,Oracle JCP and participant in Java Community Process. He founded Quantica Computacao, the first quantum computing startup in India. Markets and Markets have positioned Quantica Computacao in \u2018Emerging Companies\u2019 section of Quantum Computing quadrants. Bhagvan has engineered and developed simulators and tools in the area of quantum technology using IBM Q, Microsoft Q# and Google QScript. He has reviewed the Manning book titled : \"Machine Learning with TensorFlow\u201d. He is also the author of Packt Publishing book - \"Hands-On Data Structures and Algorithms with Go\".He is member of IFX forum,Oracle JCP and participant in Java Community Process. He is member of the MIT Technology Review Global Panel.","sameAs":["http:\/\/www.architectcorner.com","https:\/\/www.facebook.com\/bhagvank","https:\/\/in.linkedin.com\/pub\/bhagvan-kommadi\/0\/3a6\/b46","https:\/\/x.com\/bhaggu"],"url":"https:\/\/examples.javacodegeeks.com\/author\/bhagvan-kommadi\/"}]}},"_links":{"self":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/90162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/users\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=90162"}],"version-history":[{"count":0,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/90162\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media\/31013"}],"wp:attachment":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=90162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=90162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=90162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}