{"id":1160,"date":"2020-09-08T20:08:13","date_gmt":"2020-09-08T12:08:13","guid":{"rendered":"https:\/\/freeapp.sbs\/blog\/?p=1160"},"modified":"2025-04-01T16:29:26","modified_gmt":"2025-04-01T07:29:26","slug":"jkxs5kgtmeschy2","status":"publish","type":"post","link":"https:\/\/eternalsphere.net\/echoes\/index.php\/2020\/09\/08\/jkxs5kgtmeschy2\/","title":{"rendered":"Orientation and setup"},"content":{"rendered":"<h1 class=\"md-end-block md-heading md-focus\" style=\"font-size: 2.25em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.2;cursor: text;border-bottom: 1px solid #eeeeee;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain md-expand\">Orientation and setup<\/span><\/h1>\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0.8em 0px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\"> Estimated reading time: 4 minutes <\/span><\/p>\n<ul class=\"ul-list\" style=\"margin: 0.8em 0px;padding-left: 30px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\" data-mark=\"-\">\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/get-started\/part1\"><span class=\"md-plain\">Orientation and setup<\/span><\/a><\/span><\/p>\n<\/li>\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/get-started\/part2\"><span class=\"md-plain\">Build and run your image<\/span><\/a><\/span><\/p>\n<\/li>\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/get-started\/part3\"><span class=\"md-plain\">Share images on Docker Hub<\/span><\/a><\/span><\/p>\n<\/li>\n<\/ul>\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0.8em 0px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">Welcome! We are excited that you want to learn Docker. The Docker Quickstart training module teaches you how to:<\/span><\/p>\n<ol class=\"ol-list\" style=\"margin: 0.8em 0px;padding-left: 30px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\" start=\"\">\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-plain\">Set up your Docker environment (on this page)<\/span><\/p>\n<\/li>\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/get-started\/part2\/\"><span class=\"md-plain\">Build and run your image<\/span><\/a><\/span><\/p>\n<\/li>\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/get-started\/part3\/\"><span class=\"md-plain\">Share images on Docker Hub<\/span><\/a><\/span><\/p>\n<\/li>\n<\/ol>\n<h2 class=\"md-end-block md-heading\" style=\"font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.225;cursor: text;border-bottom: 1px solid #eeeeee;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">Docker concepts<\/span><\/h2>\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0.8em 0px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">Docker is a platform for developers and sysadmins to <\/span><span class=\"md-pair-s \"><strong>build, run, and share<\/strong><\/span><span class=\"md-plain\"> applications with containers. The use of containers to deploy applications is called <\/span><span class=\"md-pair-s \"><em>containerization<\/em><\/span><span class=\"md-plain\">. Containers are not new, but their use for easily deploying applications is.<\/span><\/p>\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0.8em 0px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">Containerization is increasingly popular because containers are:<\/span><\/p>\n<ul class=\"ul-list\" style=\"margin: 0.8em 0px;padding-left: 30px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\" data-mark=\"-\">\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-pair-s \"><strong>Flexible<\/strong><\/span><span class=\"md-plain\">: Even the most complex applications can be containerized.<\/span><\/p>\n<\/li>\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-pair-s \"><strong>Lightweight<\/strong><\/span><span class=\"md-plain\">: Containers leverage and share the host kernel, making them much more efficient in terms of system resources than virtual machines.<\/span><\/p>\n<\/li>\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-pair-s \"><strong>Portable<\/strong><\/span><span class=\"md-plain\">: You can build locally, deploy to the cloud, and run anywhere.<\/span><\/p>\n<\/li>\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-pair-s \"><strong>Loosely coupled<\/strong><\/span><span class=\"md-plain\">: Containers are highly self sufficient and encapsulated, allowing you to replace or upgrade one without disrupting others.<\/span><\/p>\n<\/li>\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-pair-s \"><strong>Scalable<\/strong><\/span><span class=\"md-plain\">: You can increase and automatically distribute container replicas across a datacenter.<\/span><\/p>\n<\/li>\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-pair-s \"><strong>Secure<\/strong><\/span><span class=\"md-plain\">: Containers apply aggressive constraints and isolations to processes without any configuration required on the part of the user.<\/span><\/p>\n<\/li>\n<\/ul>\n<h3 class=\"md-end-block md-heading\" style=\"font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">Images and containers<\/span><\/h3>\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0.8em 0px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">Fundamentally, a container is nothing but a running process, with some added encapsulation features applied to it in order to keep it isolated from the host and from other containers. One of the most important aspects of container isolation is that each container interacts with its own private filesystem; this filesystem is provided by a Docker <\/span><span class=\"md-pair-s \"><strong>image<\/strong><\/span><span class=\"md-plain\">. An image includes everything needed to run an application &#8211; the code or binary, runtimes, dependencies, and any other filesystem objects required.<\/span><\/p>\n<h3 class=\"md-end-block md-heading\" style=\"font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">Containers and virtual machines<\/span><\/h3>\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0.8em 0px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">A container runs <\/span><span class=\"md-pair-s \"><em>natively<\/em><\/span><span class=\"md-plain\"> on Linux and shares the kernel of the host machine with other containers. It runs a discrete process, taking no more memory than any other executable, making it lightweight.<\/span><\/p>\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0.8em 0px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">By contrast, a <\/span><span class=\"md-pair-s \"><strong>virtual machine<\/strong><\/span><span class=\"md-plain\"> (VM) runs a full-blown \u201cguest\u201d operating system with <\/span><span class=\"md-pair-s \"><em>virtual<\/em><\/span><span class=\"md-plain\"> access to host resources through a hypervisor. In general, VMs incur a lot of overhead beyond what is being consumed by your application logic.<\/span><\/p>\n<h2 class=\"md-end-block md-heading\" style=\"font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.225;cursor: text;border-bottom: 1px solid #eeeeee;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">Set up your Docker environment<\/span><\/h2>\n<h3 class=\"md-end-block md-heading\" style=\"font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">Download and install Docker Desktop<\/span><\/h3>\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0.8em 0px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">Docker Desktop is an easy-to-install application for your Mac or Windows environment that enables you to start coding and containerizing in minutes. Docker Desktop includes everything you need to build, run, and share containerized applications right from your machine.<\/span><\/p>\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0.8em 0px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">Follow the instructions appropriate for your operating system to download and install Docker Desktop:<\/span><\/p>\n<ul class=\"ul-list\" style=\"margin: 0.8em 0px;padding-left: 30px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\" data-mark=\"-\">\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/docker-for-mac\/install\/\"><span class=\"md-plain\">Docker Desktop for Mac<\/span><\/a><\/span><\/p>\n<\/li>\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/docker-for-windows\/install\/\"><span class=\"md-plain\">Docker Desktop for Windows<\/span><\/a><\/span><\/p>\n<\/li>\n<\/ul>\n<h3 class=\"md-end-block md-heading\" style=\"font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">Test Docker version<\/span><\/h3>\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0.8em 0px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">After you\u2019ve successfully installed Docker Desktop, open a terminal and run <\/span><span class=\"md-pair-s\"><code style=\"font-family: var(--monospace);vertical-align: initial;border: 1px solid #e7eaed;background-color: #f3f4f4;border-radius: 3px;padding: 0px 2px;font-size: 0.9em\">docker --version<\/code><\/span><span class=\"md-plain\"> to check the version of Docker installed on your machine.<\/span><\/p>\n<pre class=\"md-fences md-end-block ty-contain-cm modeLoaded\" lang=\"\" style=\"overflow: visible;font-family: var(--monospace);font-size: 0.9em;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-color: #f8f8f8;border-color: #e7eaed;border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;position: relative !important\"><span style=\"padding-right: 0.1px\" role=\"presentation\">$ docker --version<\/span>\r\n<span style=\"padding-right: 0.1px\" role=\"presentation\">Docker version 19.03.5, build 633a0ea<\/span><\/pre>\n<h3 class=\"md-end-block md-heading\" style=\"font-size: 1.5em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.43;cursor: text;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">Test Docker installation<\/span><\/h3>\n<ol class=\"ol-list\" style=\"margin: 0.8em 0px;padding-left: 30px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\" start=\"\">\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-plain\">Test that your installation works by running the <\/span><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/hub.docker.com\/_\/hello-world\/\"><span class=\"md-plain\">hello-world<\/span><\/a><\/span><span class=\"md-plain\"> Docker image:<\/span><\/p>\n<pre class=\"md-fences md-end-block ty-contain-cm modeLoaded\" lang=\"\" style=\"overflow: visible;font-family: var(--monospace);font-size: 0.9em;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-color: #f8f8f8;border-color: #e7eaed;border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;position: relative !important\"><span style=\"padding-right: 0.1px\" role=\"presentation\"> \u00a0  $ docker run hello-world<\/span>\r\n<span style=\"padding-right: 0.1px\" role=\"presentation\"><span>\u200b<\/span><\/span>\r\n<span style=\"padding-right: 0.1px\" role=\"presentation\"> \u00a0  Unable to find image 'hello-world:latest' locally<\/span>\r\n<span style=\"padding-right: 0.1px\" role=\"presentation\"> \u00a0  latest: Pulling from library\/hello-world<\/span>\r\n<span style=\"padding-right: 0.1px\" role=\"presentation\"> \u00a0  ca4f61b1923c: Pull complete<\/span>\r\n<span style=\"padding-right: 0.1px\" role=\"presentation\"> \u00a0  Digest: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7<\/span>\r\n<span style=\"padding-right: 0.1px\" role=\"presentation\"> \u00a0  Status: Downloaded newer image for hello-world:latest<\/span>\r\n<span style=\"padding-right: 0.1px\" role=\"presentation\"><span>\u200b<\/span><\/span>\r\n<span style=\"padding-right: 0.1px\" role=\"presentation\"> \u00a0  Hello from Docker!<\/span>\r\n<span style=\"padding-right: 0.1px\" role=\"presentation\"> \u00a0  This message shows that your installation appears to be working correctly.<\/span>\r\n<span style=\"padding-right: 0.1px\" role=\"presentation\"> \u00a0  ...<\/span><\/pre>\n<\/li>\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-plain\">Run <\/span><span class=\"md-pair-s\"><code style=\"font-family: var(--monospace);vertical-align: initial;border: 1px solid #e7eaed;background-color: #f3f4f4;border-radius: 3px;padding: 0px 2px;font-size: 0.9em\">docker image ls<\/code><\/span><span class=\"md-plain\"> to list the <\/span><span class=\"md-pair-s\"><code style=\"font-family: var(--monospace);vertical-align: initial;border: 1px solid #e7eaed;background-color: #f3f4f4;border-radius: 3px;padding: 0px 2px;font-size: 0.9em\">hello-world<\/code><\/span><span class=\"md-plain\"> image that you downloaded to your machine.<\/span><\/p>\n<\/li>\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-plain\">List the <\/span><span class=\"md-pair-s\"><code style=\"font-family: var(--monospace);vertical-align: initial;border: 1px solid #e7eaed;background-color: #f3f4f4;border-radius: 3px;padding: 0px 2px;font-size: 0.9em\">hello-world<\/code><\/span><span class=\"md-plain\"> container (spawned by the image) which exits after displaying its message. If it is still running, you do not need the <\/span><span class=\"md-pair-s\"><code style=\"font-family: var(--monospace);vertical-align: initial;border: 1px solid #e7eaed;background-color: #f3f4f4;border-radius: 3px;padding: 0px 2px;font-size: 0.9em\">--all<\/code><\/span><span class=\"md-plain\"> option:<\/span><\/p>\n<pre class=\"md-fences md-end-block ty-contain-cm modeLoaded\" lang=\"\" style=\"overflow: visible;font-family: var(--monospace);font-size: 0.9em;background-image: inherit;background-position: inherit;background-size: inherit;background-repeat: inherit;background-attachment: inherit;background-color: #f8f8f8;border-color: #e7eaed;border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;position: relative !important\"><span style=\"padding-right: 0.1px\" role=\"presentation\"> \u00a0  $ docker container ls --all<\/span>\r\n<span style=\"padding-right: 0.1px\" role=\"presentation\"><span>\u200b<\/span><\/span>\r\n<span style=\"padding-right: 0.1px\" role=\"presentation\"> \u00a0  CONTAINER ID \u00a0 \u00a0 IMAGE \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 COMMAND \u00a0 \u00a0  CREATED \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  STATUS<\/span>\r\n<span style=\"padding-right: 0.1px\" role=\"presentation\"> \u00a0  54f4984ed6a8 \u00a0 \u00a0 hello-world \u00a0 \u00a0 \"\/hello\" \u00a0 \u00a0 20 seconds ago \u00a0 \u00a0 Exited (0) 19 seconds ago<\/span><\/pre>\n<\/li>\n<\/ol>\n<h2 class=\"md-end-block md-heading\" style=\"font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.225;cursor: text;border-bottom: 1px solid #eeeeee;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">Conclusion<\/span><\/h2>\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0.8em 0px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">At this point, you\u2019ve installed Docker Desktop on your development machine, and ran a quick test to ensure you are set up to build and run your first containerized application.<\/span><\/p>\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0.8em 0px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/get-started\/part2\/\"><span class=\"md-plain\">On to Part 2 &gt;&gt;<\/span><\/a><\/span><\/p>\n<h2 class=\"md-end-block md-heading\" style=\"font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;position: relative;line-height: 1.225;cursor: text;border-bottom: 1px solid #eeeeee;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">CLI references<\/span><\/h2>\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0.8em 0px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-plain\">Refer to the following topics for further documentation on all CLI commands used in this article:<\/span><\/p>\n<ul class=\"ul-list\" style=\"margin: 0.8em 0px;padding-left: 30px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\" data-mark=\"-\">\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/engine\/reference\/commandline\/version\/\"><span class=\"md-plain\">docker version<\/span><\/a><\/span><\/p>\n<\/li>\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/engine\/reference\/commandline\/run\/\"><span class=\"md-plain\">docker run<\/span><\/a><\/span><\/p>\n<\/li>\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/engine\/reference\/commandline\/image\/\"><span class=\"md-plain\">docker image<\/span><\/a><\/span><\/p>\n<\/li>\n<li class=\"md-list-item\" style=\"margin: 0px;position: relative\">\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0px 0px 0.5rem;position: relative\"><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/engine\/reference\/commandline\/container\/\"><span class=\"md-plain\">docker container<\/span><\/a><\/span><\/p>\n<\/li>\n<\/ul>\n<p class=\"md-end-block md-p\" style=\"line-height: inherit;margin: 0.8em 0px;position: relative;font-family: 'Open Sans', 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\"><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/search\/?q=get%20started\"><span class=\"md-plain\">get started<\/span><\/a><\/span><span class=\"md-plain\">, <\/span><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/search\/?q=setup\"><span class=\"md-plain\">setup<\/span><\/a><\/span><span class=\"md-plain\">, <\/span><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/search\/?q=orientation\"><span class=\"md-plain\">orientation<\/span><\/a><\/span><span class=\"md-plain\">, <\/span><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/search\/?q=quickstart\"><span class=\"md-plain\">quickstart<\/span><\/a><\/span><span class=\"md-plain\">, <\/span><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/search\/?q=intro\"><span class=\"md-plain\">intro<\/span><\/a><\/span><span class=\"md-plain\">, <\/span><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/search\/?q=concepts\"><span class=\"md-plain\">concepts<\/span><\/a><\/span><span class=\"md-plain\">, <\/span><span class=\"md-meta-i-c  md-link\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/search\/?q=containers\"><span class=\"md-plain\">containers<\/span><\/a><\/span><span class=\"md-plain\">, <\/span><span class=\"md-meta-i-c md-link md-expand\"><a style=\"cursor: pointer;color: #4183c4\" href=\"https:\/\/docs.docker.com\/search\/?q=docker%20desktop\"><span class=\"md-plain\">docker desktop<\/span><\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Orientation and setup Estimated reading time: 4 minutes Orientation and setup Build and run your image Share images on Docker Hub Welcome! We are excited that you want to learn Docker. The Docker Quickstart training module teaches you how to: Set up your Docker environment (on this page) Build and &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-1160","post","type-post","status-publish","format-standard","hentry","category-ayo0bcjn5seq2"],"_links":{"self":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/1160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/comments?post=1160"}],"version-history":[{"count":2,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/1160\/revisions"}],"predecessor-version":[{"id":3854,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/1160\/revisions\/3854"}],"wp:attachment":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/media?parent=1160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/categories?post=1160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/tags?post=1160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}