{"id":73790,"date":"2023-11-08T10:04:43","date_gmt":"2023-11-08T04:34:43","guid":{"rendered":"https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/"},"modified":"2024-09-25T09:12:29","modified_gmt":"2024-09-25T03:42:29","slug":"top-essential-docker-commands","status":"publish","type":"post","link":"https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/","title":{"rendered":"Top 20 Essential Docker Commands"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"introduction\"><strong>Introduction<\/strong><\/h2>\n\n\n\n<p>Docker is a popular platform that allows developers to package their applications, dependencies, and configurations into containers that can run seamlessly across different environments.<\/p>\n\n\n\n<p>Using Docker commands, you can create, run, stop, remove, and manage Docker containers easily. These commands can help you automate and streamline the process of deploying and managing your applications in a containerized environment.<\/p>\n\n\n\n<p>Let's explore some of the most commonly used Docker commands that can help you manage Docker containers effectively.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>docker run -<\/strong> This command is used to start a new Docker container from an image.<\/li>\n<\/ol>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><strong>docker ps - <\/strong>This command is used to list all the running Docker containers.<\/li>\n<\/ol>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><strong>docker stop -<\/strong> This command is used to stop a running container.<\/li>\n<\/ol>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li><strong>docker rm - <\/strong>This command is used to remove a Docker container.<\/li>\n<\/ol>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li><strong>docker images - <\/strong>This command is used to list all the Docker images that are currently available on your system.<\/li>\n<\/ol>\n\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li><strong>docker pull - <\/strong>This command is used to download a Docker image from a registry.<\/li>\n<\/ol>\n\n\n\n<ol start=\"7\" class=\"wp-block-list\">\n<li><strong>docker exec - <\/strong>This command is used to execute a command in a running container.<\/li>\n<\/ol>\n\n\n\n<ol start=\"8\" class=\"wp-block-list\">\n<li><strong>docker-compose -<\/strong> This command is used to manage multi-container Docker applications.<\/li>\n<\/ol>\n\n\n\n<p>Using these commands, you can easily manage Docker containers, images, and applications. Whether you are a beginner or an experienced Docker user, mastering these commands can help you take your Docker skills to the next level.<\/p>\n\n\n\n<p><em><strong>Check out these courses and <a href=\"https:\/\/www.mygreatlearning.com\/docker\/free-courses\" target=\"_blank\" rel=\"noreferrer noopener\">learn Docker for free<\/a>.<\/strong><\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-docker\"><strong>What is Docker?<\/strong><\/h2>\n\n\n\n<p>Docker is a free and open platform that offers an immersive experience to developers working on various aspects of software development. It is a containerization platform that allows developers to package code into various deployable units called containers. <br><br>Docker Engine is the software that oversees the hosting of the containers. The subset of the Moby Project, Docker, helps developers build, run, and deploy containers on the server and the cloud. The container contains a builder, engine, and orchestrator to deliver a seamless application that runs in any environment.&nbsp;<\/p>\n\n\n\n<p>Docker is preferred by developers working on individual projects as it offers a lightweight environment for testing. It comes with both free and premium tiers. Docker was initially released in 2013 and is written in Go.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"top-20-docker-commands\"><strong>Top 20 Docker Commands<\/strong><\/h2>\n\n\n\n<p>We have enlisted 20 docker commands to help you navigate through the docker engine seamlessly and get most of your work done. Let us get started.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Docker version<\/strong><\/li>\n\n\n\n<li><strong>Docker search&nbsp;<\/strong><\/li>\n\n\n\n<li><strong>Docker pull<\/strong><\/li>\n\n\n\n<li><strong>Docker run&nbsp;<\/strong><\/li>\n\n\n\n<li><strong>Docker ps<\/strong><\/li>\n\n\n\n<li><strong>Docker stop&nbsp;<\/strong><\/li>\n\n\n\n<li><strong>Docker restart<\/strong>&nbsp;<\/li>\n\n\n\n<li><strong>Docker kill<\/strong><\/li>\n\n\n\n<li><strong>Docker exec&nbsp;<\/strong><\/li>\n\n\n\n<li><strong>Docker login<\/strong><\/li>\n\n\n\n<li><strong>Docker commit&nbsp;<\/strong><\/li>\n\n\n\n<li><strong>Docker push&nbsp;<\/strong><\/li>\n\n\n\n<li><strong>Docker network&nbsp;<\/strong><\/li>\n\n\n\n<li><strong>Docker history&nbsp;<\/strong><\/li>\n\n\n\n<li><strong>Docker rmi&nbsp;<\/strong><\/li>\n\n\n\n<li><strong>Docker ps -a<\/strong><\/li>\n\n\n\n<li><strong>Docker copy<\/strong><\/li>\n\n\n\n<li><strong>Docker logs&nbsp;&nbsp;&nbsp;<\/strong><\/li>\n\n\n\n<li><strong>Docker volume&nbsp;<\/strong><\/li>\n\n\n\n<li><strong>Docker logout<\/strong><\/li>\n<\/ol>\n\n\n\n<div class=\"topics\" style=\"background:#f6f7f8\">\n\t<div class=\"site-container\">\n\t\t<h2 class=\"section-title\" class=\"section-title\" id=\"learn-more-with-these-free-courses\"> Learn more with these free courses <\/h2>\t\n\t\t<div class=\"topic-wrapper\">\n\t\t\t\t\t\t<a class=\"card\" href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/become-full-stack-developer\" target=\"_blank\"> Free Full Stack Development Course <\/a>\n\t\t\t\t\t\t<a class=\"card\" href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/docker-for-intermediate-level\" target=\"_blank\"> Docker for Intermediate Level Free Course <\/a>\n\t\t\t\t\t\t<a class=\"card\" href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/monitoring-in-docker\" target=\"_blank\"> Monitoring in Docker Free Course <\/a>\n\t\t\t\t\t<\/div>\n\t<\/div>\n<\/div>\n\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-docker-version\"><strong>1. Docker version<\/strong><\/h3>\n\n\n\n<p>We usually start by finding the installed version of docker that we are working on. Here is how to find it -<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>greatlearning@greatlearning:\/home\/greatlearning$ docker --version\nDocker version 18.09.6, build 481bc77\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-docker-search\"><strong>2. Docker search<\/strong><\/h3>\n\n\n\n<p>The \u201cdocker search\u201d command searches for specific images through the Docker hub. This command returns the specific information, including image name, description, automated, official stars, etc. Here is how to use it -&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker search MySQL<\/code><\/pre>\n\n\n\n<p>You can use the Docker Hub website to search through the GUI-based option.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-docker-pull\"><strong>3. Docker pull<\/strong><\/h3>\n\n\n\n<p>As the name suggests, this command pulls a specific image from the Docker Hub. All you have to do is use the command \u2018docker pull\u2019 along with the name of the image. Here is an example of pulling an image without using the tag.&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker pull --platform Linux\/x86_64 MySQL\nHere is an example that demonstrates how to pull an Apache HTTP server image from the Docker repository using the tag -\nUsing default tag: latest\nlatest: Pulling from library\/httpd\nf5d23c7fed46: Pull complete\nb083c5fd185b: Pull complete\nbf5100a89e78: Pull complete\n98f47fcaa52f: Pull complete\n622a9dd8cfed: Pull complete\nDigest: sha256:8bd76c050761610773b484e411612a31f299dbf7273763103edbda82acd73642\nStatus: Downloaded newer image for httpd: latest\ngreatlearning@greatlearning:\/home\/greatlearning$\n<\/code><\/pre>\n\n\n\n<p>The tags are used to identify the images inside the Docker hub. If you do not specify a tag, it will use the \u2018: latest\u2019 tag by default.&nbsp;<\/p>\n\n\n\n<p>We can use the command \u2018-all-tags\u2019 to pull all the images from the repository for multiple images.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-docker-run\"><strong>4. Docker run&nbsp;<\/strong><\/h3>\n\n\n\n<p>This command is used to create a container from an image. Here is how to do it -<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker run --env MYSQL_ROOT_PASSWORD=my-secret-pw --detach mysql<\/code><\/pre>\n\n\n\n<p>The \u2018--detach\u2019 option runs the container, and the \u2018--env\u2019 option is used to set the mandatory variable. If you do not use the \u2018--name\u2019 option, the docker will randomly assign a name to the container.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5-docker-ps\"><strong>5. Docker ps<\/strong><\/h3>\n\n\n\n<p>This command is used to list all the running containers in the background. Here is how to do it -<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker ps --all<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"6-docker-stop\"><strong>6. Docker stop&nbsp;<\/strong><\/h3>\n\n\n\n<p>The \u2018docker stop\u2019 command stops a container using the container name or its id. Here is how to do it -<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker stop f8c52bedeecc<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"7-docker-restart\"><strong>7. Docker restart&nbsp;<\/strong><\/h3>\n\n\n\n<p>This command is used to restart the stopped container. It is recommended to use this after rebooting the system. Here is how to do it -<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>greatlearning@greatlearning:\/home\/greatlearning$\ndocker restart f8c52bedeecc\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"8-docker-kill\"><strong>8. Docker kill<\/strong><\/h3>\n\n\n\n<p>This command is used to stop the container immediately by killing its execution. While the \u2018docker stop\u2019 command helps shut down the container in its own time, the \u2018docker kill\u2019 command stops it at once. Here is to use it -<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>greatlearning@greatlearning:\/home\/greatlearning$\ndocker kill 09ca6feb6efc\nTo check whether the container is stopped or killed, use the following command -\ngreatlearning@greatlearning:\/home\/greatlearning$ docker ps\nCONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES\n\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"9-docker-exec\"><strong>9. Docker exec&nbsp;<\/strong><\/h3>\n\n\n\n<p>This command is used to access the container that is running. Here is how to use it -<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker exec -it test_db bash\nmysql -uroot -pmy-secret-pw\nSHOW DATABASES;\n<\/code><\/pre>\n\n\n\n<p>You have to either provide the name or the id of the container, which is \u2018test_db\u2019 in this case. The \u2018-i\u2019 and \u2018-t\u2019 options are used to access the interactive mode.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"10-docker-login\"><strong>10. Docker login<\/strong><\/h3>\n\n\n\n<p>This command helps you to log into your docker hub. As you try to log in, you will be asked to give your docker hub credentials.&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>greatlearning@greatlearning:\/home\/greatlearning$ docker login\nLogin with your Docker ID to push and pull images from Docker Hub. Suppose you don\u2019t have a Docker ID, head over to https:\/\/hub.docker.com to create one.\nUsername: greatlearning\nPassword:\nConfigure a credential helper to remove this warning. See: https:\/\/docs.docker.com\/engine\/reference\/commandline\/login\/#credentials-store\nLogin Succeeded\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"11-docker-commit\"><strong>11. Docker commit&nbsp;<\/strong><\/h3>\n\n\n\n<p>This command is used to create or save an image of the edited container on the local system.&nbsp;<\/p>\n\n\n\n<p>Here is how to use it -<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>greatlearning@greatlearning:\/home\/greatlearning$\ndocker commit 09ca6feb6efc greatlearning\/httpd_image\nsha256:d1933506f4c1686ab1a1ec601b1a03a17b41decbc21d8acd893db090a09bb31c\nHere, \u2018greatlearning\u2019 is the username and \u2018httpd_image\u2019 is the image name of the edited container. \n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"12-docker-push\"><strong>12. Docker push&nbsp;<\/strong><\/h3>\n\n\n\n<p>This command helps push or upload a docker image on the repository or the docker hub. Here is how to use it -<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>greatlearning@greatlearning:\/home\/greatlearning$ docker push greatlearning\/httpd_image\nThe push refers to the repository &#91;docker.io\/greatlearning\/httpd_image]\n734d9104a6a2: Pushed\n635721fc6973: Mounted from library\/httpd\nbea448567d6c: Mounted from library\/httpd\nbfaa5f9c3b51: Mounted from library\/httpd\n9d542ac296cc: Mounted from library\/httpd\nd8a33133e477: Mounted from library\/httpd\nlatest: \ndigest: sha256:3904662761df9d76ef04ddfa5cfab764b85e3eedaf10071cfbe2bf77254679ac size: 1574\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"13-docker-network\"><strong>13. Docker network&nbsp;<\/strong><\/h3>\n\n\n\n<p>The \u2018docker network\u2019 command is used to know the details of the list of networks in the cluster. Here is how to use it -<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>greatlearning@greatlearning:\/home\/greatlearning$ docker network ls\nNETWORK ID          NAME                DRIVER              SCOPE\n85083e755f04        bridge              bridge              local\nf51d1f2379e0        host                host                local\n5e5d9a154c00        none                null                local\nApart from this, you can also use the following docker network commands to manage networks -\nConnect  - to connect a container to a network\nDisconnect - to disconnect a container from a network\nCreate  - to create a network\nLs - to list all networks\nInspect - to display detailed information on one or more networks\nprune - to remove all unused networks\nrm - to remove one or more networks\nDocker history \nThis command is used to check the history of a docker image. The image name has to be mentioned while using the command. Here is how to use it -\ngreatlearning@greatlearning:\/home\/greatlearning$ docker history httpd\nIMAGE               CREATED             CREATED BY                                      SIZE                COMMENT\nee39f68eb241        3 days ago          \/bin\/sh -c #(nop)  CMD &#91;\"httpd-foreground\"]     0B\n&lt;missing&gt;           3 days ago          \/bin\/sh -c #(nop)  EXPOSE 80                    0B\n&lt;missing&gt;           3 days ago          \/bin\/sh -c #(nop) COPY file:c432ff61c4993ecd\u2026   138B\n&lt;missing&gt;           2 days ago          \/bin\/sh -c set -eux;   savedAptMark=\"$(apt-m\u2026   49.1MB\n&lt;missing&gt;           2 days ago          \/bin\/sh -c #(nop)  ENV HTTPD_PATCHES=           0B\n&lt;missing&gt;           2 days ago          \/bin\/sh -c #(nop)  ENV HTTPD_SHA256=b4ca9d05\u2026   0B\n&lt;missing&gt;           2 days ago          \/bin\/sh -c #(nop)  ENV HTTPD_VERSION=2.4.39     0B\n&lt;missing&gt;           2 days ago          \/bin\/sh -c set -eux;  apt-get update;  apt-g\u2026   35.4MB\n&lt;missing&gt;           5 days ago          \/bin\/sh -c #(nop) WORKDIR \/usr\/local\/apache2    0B\n&lt;missing&gt;           5 days ago          \/bin\/sh -c mkdir -p \"$HTTPD_PREFIX\"  &amp;&amp; chow\u2026   0B\n&lt;missing&gt;           5 days ago          \/bin\/sh -c #(nop)  ENV PATH=\/usr\/local\/apach\u2026   0B\n&lt;missing&gt;           5 days ago          \/bin\/sh -c #(nop)  ENV HTTPD_PREFIX=\/usr\/loc\u2026   0B\n&lt;missing&gt;           4 days ago          \/bin\/sh -c #(nop)  CMD &#91;\"bash\"]                 0B\n&lt;missing&gt;           4 days ago          \/bin\/sh -c #(nop) ADD file:71ac26257198ecf6a\u2026   69.2MB\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"14-docker-history\">14. Docker history<\/h3>\n\n\n\n<p>This command shows the history of an image. Here's how to use it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker history &#91;IMAGE]<\/code><\/pre>\n\n\n\n<p>This command will display a list of commands that were used to create the image, providing a detailed history of the image\u2019s creation process.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"15-docker-rmi\">15. <strong>Docker rmi&nbsp;<\/strong><\/h3>\n\n\n\n<p>This command is used to free up some disk space. The image id is used to remove the image while using this command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker rmi eb0e825dc3cf<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"16-docker-ps-a\"><strong>16. Docker ps -a<\/strong><\/h3>\n\n\n\n<p>This command is used to know the details of all the running, stopped, or exited containers. Here is how to use it -<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>greatlearning@greatlearning:\/home\/greatlearning$ docker ps -a\nCONTAINER ID        IMAGE                            COMMAND                  CREATED             STATUS                     PORTS                                                                                                                                NAMES\n09ca6feb6efc        httpd                            \"httpd-foreground\"       51 seconds ago      Up 49 seconds              80\/tcp                                                                                                                               sane_trell\n2f6fb3381078        sequenceiq\/hadoop-docker:2.7.0   \"\/etc\/bootstrap.sh -d\"   2 weeks ago         Exited (137) 9 days ago                                                                                                                                         better_naman\n9f397feb3a46        sequenceiq\/hadoop-docker:2.7.0   \"\/etc\/bootstrap.sh -\u2026\"   2 weeks ago         Exited (255) 2 weeks ago   2122\/tcp, 8030-8033\/tcp, 8040\/tcp, 8042\/tcp, 8088\/tcp, 19888\/tcp, 49707\/tcp, 50010\/tcp, 50020\/tcp, 50070\/tcp, 50075\/tcp, 50090\/tcp   determined_sarah\n9b6343d3b5a0        hello-world                      \"\/hello\"                 2 weeks ago         Exited (0) 2 weeks ago                                                                                                                                          mega_steven\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"17-docker-copy\"><strong>1<\/strong>7<strong>. Docker copy<\/strong><\/h3>\n\n\n\n<p>This command copies a file from docker to the local system. Here is how to use it -<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>greatlearning@greatlearning:\/home\/greatlearning$ sudo docker cp 09ca4feb7tfc:\/usr\/local\/apache2\/logs\/httpd.pid \/home\/greatlearning\/\n&#91;sudo] password for greatlearning:\nIn the above example, we used the docker container with id 09ca4feb7tfc to copy the file \u2018http.pid.\u2019 To check whether the file is copied or not, run this command -\ngreatlearning@greatlearning:\/home\/greatlearning$ ls\nDesktop  Documents  example  examples.desktop  httpd.pid  nginx_new.yml  nginx.yml\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"18-docker-logs\"><strong>18. Docker logs&nbsp;&nbsp;&nbsp;<\/strong><\/h3>\n\n\n\n<p>This command is used to check the logs of all the docker containers with the corresponding contained id mentioned in the command. Here is how to use it -<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>greatlearning@greatlearning:\/home\/greatlearning$ docker logs 09ca6feb6efc\nAH00558: httpd: Could not reliably determine the server\u2019s fully qualified domain name, using 172.17.0.2. Set the \u2018ServerName\u2019 directive globally to suppress this message\nAH00558: httpd: Could not reliably determine the server\u2019s fully qualified domain name, using 172.17.0.2. Set the \u2018ServerName\u2019 directive globally to suppress this message\n&#91;Mon Jul 16 14:01:55.400472 2019] &#91;mpm_event:notice] &#91;pid 1:tid 140299791516800] AH00489: Apache\/2.4.39 (Unix) configured -- resuming normal operations\n&#91;Mon Jul 16 14:01:55.400615 2019] &#91;core:notice] &#91;pid 1:tid 140299791516800] AH00094: Command line: 'httpd -D FOREGROUND'\n&#91;Mon Jul 16 14:08:36.798229 2019] &#91;mpm_event:notice] &#91;pid 1:tid 140299791516800] AH00491: caught SIGTERM, shutting down\nAH00558: httpd: Could not reliably determine the server\u2019s fully qualified domain name, using 172.17.0.2. Set the \u2018ServerName\u2019 directive globally to suppress this message\nAH00558: httpd: Could not reliably determine the server\u2019s fully qualified domain name, using 172.17.0.2. Set the \u2018ServerName\u2019 directive globally to suppress this message\n&#91;Mon Jul 15 14:08:38.259870 2019] &#91;mpm_event:notice] &#91;pid 1:tid 139974087980160] AH00489: Apache\/2.4.39 (Unix) configured -- resuming normal operations\n&#91;Mon Jul 15 14:08:38.260007 2019] &#91;core:notice] &#91;pid 1:tid 139974087980160] AH00094: Command line: 'httpd -D FOREGROUND'\n&#91;Mon Jul 15 14:09:01.540647 2019] &#91;mpm_event:notice] &#91;pid 1:tid 139974087980160] AH00491: caught SIGTERM, shutting down\nAH00558: httpd: Could not reliably determine the server\u2019s fully qualified domain name, using 172.17.0.2. Set the \u2018ServerName\u2019 directive globally to suppress this message\nAH00558: httpd: Could not reliably determine the server\u2019s fully qualified domain name, using 172.17.0.2. Set the \u2018ServerName\u2019 directive globally to suppress this message\n&#91;Mon Jul 16 14:10:43.782606 2019] &#91;mpm_event:notice] &#91;pid 1:tid 140281554879616] AH00489: Apache\/2.4.39 (Unix) configured -- resuming normal operations\n&#91;Mon Jul 16 14:10:43.782737 2019] &#91;core:notice] &#91;pid 1:tid 140281554879616] AH00094: Command line: 'httpd -D FOREGROUND'\nAH00558: httpd: Could not reliably determine the server\u2019s fully qualified domain name, using 172.17.0.2. Set the \u2018ServerName\u2019 directive globally to suppress this message\nAH00558: httpd: Could not reliably determine the server\u2019s fully qualified domain name, using 172.17.0.2. Set the \u2018ServerName\u2019 directive globally to suppress this message\n&#91;Mon Jul 16 14:14:08.270906 2019] &#91;mpm_event:notice] &#91;pid 1:tid 140595254346880] AH00489: Apache\/2.4.39 (Unix) configured -- resuming normal operations\n&#91;Mon Jul 16 14:14:08.272628 2019] &#91;core:notice] &#91;pid 1:tid 140595254346880] AH00094: Command line: 'httpd -D FOREGROUND'\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"19-docker-volume\"><strong>19. Docker volume&nbsp;<\/strong><\/h3>\n\n\n\n<p>This command creates a volume so that the docker container can use it to store data. Here is how to use it -<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>greatlearning@greatlearning:\/home\/greatlearning$ docker volume create\n7e7bc886f69bb24dbdbf19402e31102a25db91bb29c56cca3ea8b0c611fd9ad0\nTo check whether this command created the volume or not, run the following command -\ngreatlearning@greatlearning:\/home\/greatlearning$ docker volume ls\nDRIVER              VOLUME NAME\nlocal               7e7bc886f69bb24dbdbf19402e31102a25db91bb29c56cca3ea8b0c611fd9ad0\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"20-docker-logout\"><strong>20. Docker logout&nbsp;<\/strong><\/h3>\n\n\n\n<p>This command will log you out of the docker hub. Here is how to use it -<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>greatlearning@greatlearning:\/home\/greatlearning$ docker logout\nRemoving login credentials for https:\/\/index.docker.io\/v1\/\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>You can try out the Docker commands in your lab environment to practice them for source development. We hope these 20 Docker commands will help you get started with Docker and learn to perform basic functions without getting overwhelmed. To further enhance your Docker skills, explore <strong><a href=\"https:\/\/www.mygreatlearning.com\/academy\" target=\"_blank\" rel=\"noreferrer noopener\">free certification courses<\/a><\/strong> that offer in-depth learning and certification opportunities in containerization and related technologies.Get your hands on the free <a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/docker-best-practices\" target=\"_blank\" rel=\"noreferrer noopener\">Docker best practice <\/a>and brush up on your Docker skills.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Docker is a popular platform that allows developers to package their applications, dependencies, and configurations into containers that can run seamlessly across different environments. Using Docker commands, you can create, run, stop, remove, and manage Docker containers easily. These commands can help you automate and streamline the process of deploying and managing your applications [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":18949,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","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":"set","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":[25860],"tags":[],"content_type":[],"class_list":["post-73790","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Top 20 Essential Docker Commands<\/title>\n<meta name=\"description\" content=\"docker commands: In this article, we will discuss the most popular docker commands that will ease the software development process.\" \/>\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.mygreatlearning.com\/blog\/top-essential-docker-commands\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Top 20 Essential Docker Commands\" \/>\n<meta property=\"og:description\" content=\"docker commands: In this article, we will discuss the most popular docker commands that will ease the software development process.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/\" \/>\n<meta property=\"og:site_name\" content=\"Great Learning Blog: Free Resources what Matters to shape your Career!\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GreatLearningOfficial\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-08T04:34:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-25T03:42:29+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Great Learning Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/Great_Learning\" \/>\n<meta name=\"twitter:site\" content=\"@Great_Learning\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Great Learning Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/top-essential-docker-commands\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/top-essential-docker-commands\\\/\"},\"author\":{\"name\":\"Great Learning Editorial Team\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\"},\"headline\":\"Top 20 Essential Docker Commands\",\"datePublished\":\"2023-11-08T04:34:43+00:00\",\"dateModified\":\"2024-09-25T03:42:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/top-essential-docker-commands\\\/\"},\"wordCount\":1230,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/top-essential-docker-commands\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/iStock-1144628524.jpg\",\"articleSection\":[\"IT\\\/Software Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/top-essential-docker-commands\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/top-essential-docker-commands\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/top-essential-docker-commands\\\/\",\"name\":\"Top 20 Essential Docker Commands\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/top-essential-docker-commands\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/top-essential-docker-commands\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/iStock-1144628524.jpg\",\"datePublished\":\"2023-11-08T04:34:43+00:00\",\"dateModified\":\"2024-09-25T03:42:29+00:00\",\"description\":\"docker commands: In this article, we will discuss the most popular docker commands that will ease the software development process.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/top-essential-docker-commands\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/top-essential-docker-commands\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/top-essential-docker-commands\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/iStock-1144628524.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/iStock-1144628524.jpg\",\"width\":1024,\"height\":1024,\"caption\":\"Docker emblem. A blue whale with several containers.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/top-essential-docker-commands\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"IT\\\/Software Development\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/software\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Top 20 Essential Docker Commands\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"name\":\"Great Learning Blog\",\"description\":\"Learn, Upskill &amp; Career Development Guide and Resources\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"alternateName\":\"Great Learning\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\",\"name\":\"Great Learning\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"width\":900,\"height\":900,\"caption\":\"Great Learning\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/GreatLearningOfficial\\\/\",\"https:\\\/\\\/x.com\\\/Great_Learning\",\"https:\\\/\\\/www.instagram.com\\\/greatlearningofficial\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/in.pinterest.com\\\/greatlearning12\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/beaconelearning\\\/\"],\"description\":\"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.\",\"email\":\"info@mygreatlearning.com\",\"legalName\":\"Great Learning Education Services Pvt. Ltd\",\"foundingDate\":\"2013-11-29\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1001\",\"maxValue\":\"5000\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\",\"name\":\"Great Learning Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"caption\":\"Great Learning Editorial Team\"},\"description\":\"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.\",\"sameAs\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/\",\"https:\\\/\\\/in.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/Great_Learning\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCObs0kLIrDjX2LLSybqNaEA\"],\"award\":[\"Best EdTech Company of the Year 2024\",\"Education Economictimes Outstanding Education\\\/Edtech Solution Provider of the Year 2024\",\"Leading E-learning Platform 2024\"],\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/author\\\/greatlearning\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Top 20 Essential Docker Commands","description":"docker commands: In this article, we will discuss the most popular docker commands that will ease the software development process.","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.mygreatlearning.com\/blog\/top-essential-docker-commands\/","og_locale":"en_US","og_type":"article","og_title":"Top 20 Essential Docker Commands","og_description":"docker commands: In this article, we will discuss the most popular docker commands that will ease the software development process.","og_url":"https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/","og_site_name":"Great Learning Blog: Free Resources what Matters to shape your Career!","article_publisher":"https:\/\/www.facebook.com\/GreatLearningOfficial\/","article_published_time":"2023-11-08T04:34:43+00:00","article_modified_time":"2024-09-25T03:42:29+00:00","og_image":[{"width":1024,"height":1024,"url":"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524.jpg","type":"image\/jpeg"}],"author":"Great Learning Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/Great_Learning","twitter_site":"@Great_Learning","twitter_misc":{"Written by":"Great Learning Editorial Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/#article","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/"},"author":{"name":"Great Learning Editorial Team","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad"},"headline":"Top 20 Essential Docker Commands","datePublished":"2023-11-08T04:34:43+00:00","dateModified":"2024-09-25T03:42:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/"},"wordCount":1230,"commentCount":0,"publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524.jpg","articleSection":["IT\/Software Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/","url":"https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/","name":"Top 20 Essential Docker Commands","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/#primaryimage"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524.jpg","datePublished":"2023-11-08T04:34:43+00:00","dateModified":"2024-09-25T03:42:29+00:00","description":"docker commands: In this article, we will discuss the most popular docker commands that will ease the software development process.","breadcrumb":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/#primaryimage","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524.jpg","width":1024,"height":1024,"caption":"Docker emblem. A blue whale with several containers."},{"@type":"BreadcrumbList","@id":"https:\/\/www.mygreatlearning.com\/blog\/top-essential-docker-commands\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/www.mygreatlearning.com\/blog\/"},{"@type":"ListItem","position":2,"name":"IT\/Software Development","item":"https:\/\/www.mygreatlearning.com\/blog\/software\/"},{"@type":"ListItem","position":3,"name":"Top 20 Essential Docker Commands"}]},{"@type":"WebSite","@id":"https:\/\/www.mygreatlearning.com\/blog\/#website","url":"https:\/\/www.mygreatlearning.com\/blog\/","name":"Great Learning Blog","description":"Learn, Upskill &amp; Career Development Guide and Resources","publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"alternateName":"Great Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mygreatlearning.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization","name":"Great Learning","url":"https:\/\/www.mygreatlearning.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","width":900,"height":900,"caption":"Great Learning"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/GreatLearningOfficial\/","https:\/\/x.com\/Great_Learning","https:\/\/www.instagram.com\/greatlearningofficial\/","https:\/\/www.linkedin.com\/school\/great-learning\/","https:\/\/in.pinterest.com\/greatlearning12\/","https:\/\/www.youtube.com\/user\/beaconelearning\/"],"description":"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.","email":"info@mygreatlearning.com","legalName":"Great Learning Education Services Pvt. Ltd","foundingDate":"2013-11-29","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1001","maxValue":"5000"}},{"@type":"Person","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad","name":"Great Learning Editorial Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","caption":"Great Learning Editorial Team"},"description":"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.","sameAs":["https:\/\/www.mygreatlearning.com\/","https:\/\/in.linkedin.com\/school\/great-learning\/","https:\/\/x.com\/https:\/\/twitter.com\/Great_Learning","https:\/\/www.youtube.com\/channel\/UCObs0kLIrDjX2LLSybqNaEA"],"award":["Best EdTech Company of the Year 2024","Education Economictimes Outstanding Education\/Edtech Solution Provider of the Year 2024","Leading E-learning Platform 2024"],"url":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524.jpg",1024,1024,false],"thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524-150x150.jpg",150,150,true],"medium":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524-300x300.jpg",300,300,true],"medium_large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524-768x768.jpg",768,768,true],"large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524-1024x1024.jpg",1024,1024,true],"1536x1536":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524.jpg",1024,1024,false],"2048x2048":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524.jpg",1024,1024,false],"web-stories-poster-portrait":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524.jpg",640,640,false],"web-stories-publisher-logo":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524.jpg",96,96,false],"web-stories-thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/08\/iStock-1144628524.jpg",150,150,false]},"uagb_author_info":{"display_name":"Great Learning Editorial Team","author_link":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"},"uagb_comment_info":0,"uagb_excerpt":"Introduction Docker is a popular platform that allows developers to package their applications, dependencies, and configurations into containers that can run seamlessly across different environments. Using Docker commands, you can create, run, stop, remove, and manage Docker containers easily. These commands can help you automate and streamline the process of deploying and managing your applications&hellip;","_links":{"self":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/73790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/comments?post=73790"}],"version-history":[{"count":21,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/73790\/revisions"}],"predecessor-version":[{"id":109968,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/73790\/revisions\/109968"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media\/18949"}],"wp:attachment":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media?parent=73790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/categories?post=73790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/tags?post=73790"},{"taxonomy":"content_type","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/content_type?post=73790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}