{"id":2349,"date":"2021-03-17T13:24:00","date_gmt":"2021-03-17T11:24:00","guid":{"rendered":"https:\/\/www.virtono.com\/community\/?p=2349"},"modified":"2021-03-17T09:29:41","modified_gmt":"2021-03-17T07:29:41","slug":"overview-of-docker-commands-part-2","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/knowledgebase\/overview-of-docker-commands-part-2\/","title":{"rendered":"Overview of Docker Commands Part &#8211; 2"},"content":{"rendered":"\n<p>In the previous tutorial, we went through the steps to get a container up and running. We used Postgres as an example. This section of the tutorial series will continue to build on that. In this section we will learn how to interact with the container, how to execute commands inside a container and<\/p>\n\n\n\n<p>Below are few ways using which you can use a container:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Attach<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"72\" data-attachment-id=\"2351\" data-permalink=\"https:\/\/www.virtono.com\/community\/knowledgebase\/overview-of-docker-commands-part-2\/attachment\/image-33\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image.png?fit=1023%2C98&amp;ssl=1\" data-orig-size=\"1023,98\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image.png?fit=750%2C72&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image.png?resize=750%2C72&#038;ssl=1\" alt=\"\" class=\"wp-image-2351\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image.png?w=1023&amp;ssl=1 1023w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image.png?resize=300%2C29&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image.png?resize=768%2C74&amp;ssl=1 768w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n\n\n\n<p>We are attached to the standard in and out of the container, currently standard out is being sent to output logs. Therefore we do not have access to shell.<\/p>\n\n\n\n<p>You will have to use &#8216;Ctrl+C&#8217; to detach the container, this will also stop the container<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"719\" height=\"123\" data-attachment-id=\"2352\" data-permalink=\"https:\/\/www.virtono.com\/community\/knowledgebase\/overview-of-docker-commands-part-2\/attachment\/image-1-5\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-1.png?fit=719%2C123&amp;ssl=1\" data-orig-size=\"719,123\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-1.png?fit=719%2C123&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-1.png?resize=719%2C123&#038;ssl=1\" alt=\"\" class=\"wp-image-2352\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-1.png?w=719&amp;ssl=1 719w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-1.png?resize=300%2C51&amp;ssl=1 300w\" sizes=\"auto, (max-width: 719px) 100vw, 719px\" \/><\/figure>\n\n\n\n<p>2. Start<\/p>\n\n\n\n<p>Now there is a way to resolve the problem we faced with &#8216;attach&#8217;, that is we should just start the container with the, guess what, &#8216;start&#8217; command.<\/p>\n\n\n\n<p>docker container start &lt;CONTAINER_ID&gt;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"133\" data-attachment-id=\"2353\" data-permalink=\"https:\/\/www.virtono.com\/community\/knowledgebase\/overview-of-docker-commands-part-2\/attachment\/image-2-5\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-2.png?fit=1212%2C216&amp;ssl=1\" data-orig-size=\"1212,216\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-2.png?fit=750%2C133&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-2.png?resize=750%2C133&#038;ssl=1\" alt=\"\" class=\"wp-image-2353\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-2.png?resize=1024%2C182&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-2.png?resize=300%2C53&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-2.png?resize=768%2C137&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-2.png?w=1212&amp;ssl=1 1212w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n\n\n\n<p>3. Stop<\/p>\n\n\n\n<p>You guessed it, the stop command, contrary to the start command, the arch nemesis if you will, stops the container.<\/p>\n\n\n\n<p>docker container stop &lt;CONTAINER_ID&gt;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"75\" data-attachment-id=\"2354\" data-permalink=\"https:\/\/www.virtono.com\/community\/knowledgebase\/overview-of-docker-commands-part-2\/attachment\/image-3-5\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-3.png?fit=1034%2C104&amp;ssl=1\" data-orig-size=\"1034,104\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-3.png?fit=750%2C75&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-3.png?resize=750%2C75&#038;ssl=1\" alt=\"\" class=\"wp-image-2354\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-3.png?resize=1024%2C103&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-3.png?resize=300%2C30&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-3.png?resize=768%2C77&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-3.png?w=1034&amp;ssl=1 1034w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n\n\n\n<p>4. Logs<\/p>\n\n\n\n<p>This command is used to see any activity that may have happened on your container.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"377\" data-attachment-id=\"2355\" data-permalink=\"https:\/\/www.virtono.com\/community\/knowledgebase\/overview-of-docker-commands-part-2\/attachment\/image-4-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-4.png?fit=812%2C408&amp;ssl=1\" data-orig-size=\"812,408\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-4\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-4.png?fit=750%2C377&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-4.png?resize=750%2C377&#038;ssl=1\" alt=\"\" class=\"wp-image-2355\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-4.png?w=812&amp;ssl=1 812w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-4.png?resize=300%2C151&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-4.png?resize=768%2C386&amp;ssl=1 768w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n\n\n\n<p>Just like this you can view the logs, up until this moment we have only used start and stop command so only those logs are generated. Logs are a great way of debugging any issues that one might face using containers.<\/p>\n\n\n\n<p>5. Stats<\/p>\n\n\n\n<p>Stats is a great way to live track the resource allocation and resource usage that your container is consuming. If you have created a container, it is important that you track the stats while using it, this will help you find memory leaks, will help you make your container more efficient and so on.<\/p>\n\n\n\n<p>If you are using pre-built containers, it is still a great tool to keep track of your system.<\/p>\n\n\n\n<p>Usage: docker stats &lt;CONTAINER_ID&gt;<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"539\" height=\"96\" data-attachment-id=\"2356\" data-permalink=\"https:\/\/www.virtono.com\/community\/knowledgebase\/overview-of-docker-commands-part-2\/attachment\/image-5-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-5.png?fit=539%2C96&amp;ssl=1\" data-orig-size=\"539,96\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-5\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-5.png?fit=539%2C96&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-5.png?resize=539%2C96&#038;ssl=1\" alt=\"\" class=\"wp-image-2356\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-5.png?w=539&amp;ssl=1 539w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-5.png?resize=300%2C53&amp;ssl=1 300w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/figure>\n\n\n\n<p>Output:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"26\" data-attachment-id=\"2357\" data-permalink=\"https:\/\/www.virtono.com\/community\/knowledgebase\/overview-of-docker-commands-part-2\/attachment\/image-6-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-6.png?fit=1628%2C57&amp;ssl=1\" data-orig-size=\"1628,57\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-6\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-6.png?fit=750%2C26&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-6.png?resize=750%2C26&#038;ssl=1\" alt=\"\" class=\"wp-image-2357\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-6.png?resize=1024%2C36&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-6.png?resize=300%2C11&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-6.png?resize=768%2C27&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-6.png?resize=1536%2C54&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-6.png?w=1628&amp;ssl=1 1628w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n\n\n\n<p>To get out of this press &#8216;Ctrl+C&#8217;<\/p>\n\n\n\n<p>6. Exec<\/p>\n\n\n\n<p>This command allows us to run commands on our container. Lets say we want to see directory listing, we will use the &#8216;ls&#8217; command on the desired directory. <\/p>\n\n\n\n<p>This command is specially useful when we want to get inside our container and execute commands.<\/p>\n\n\n\n<p>For this specific purpose we will be using two flags &#8216;-i&#8217;, which stands for interactive and &#8216;-t&#8217; which stands for tty.<\/p>\n\n\n\n<p>Here&#8217;s how your command will look like:<\/p>\n\n\n\n<p>docker exec -it &lt;CONTAINER_ID&gt; \/bin\/bash<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"585\" height=\"62\" data-attachment-id=\"2360\" data-permalink=\"https:\/\/www.virtono.com\/community\/knowledgebase\/overview-of-docker-commands-part-2\/attachment\/image-9-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-9.png?fit=585%2C62&amp;ssl=1\" data-orig-size=\"585,62\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-9\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-9.png?fit=585%2C62&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-9.png?resize=585%2C62&#038;ssl=1\" alt=\"\" class=\"wp-image-2360\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-9.png?w=585&amp;ssl=1 585w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/image-9.png?resize=300%2C32&amp;ssl=1 300w\" sizes=\"auto, (max-width: 585px) 100vw, 585px\" \/><\/figure>\n\n\n\n<p>This will drop us inside our Postgres container, or whichever container you choose to use.<\/p>\n\n\n\n<p>To get out of the container use &#8216;exit&#8217; command.<\/p>\n\n\n\n<p>7. Pause\/Unpause<\/p>\n\n\n\n<p>In docker pause and unpause are commands used on your container to suspends all processes and un-suspend all processes respectively. Usage is fairly simple:<\/p>\n\n\n\n<p>docker container pause &lt;CONTAINER_ID&gt;<\/p>\n\n\n\n<p>docker container unpause &lt;CONTAINER_ID&gt;<\/p>\n\n\n\n<p>8. Removing Containers<\/p>\n\n\n\n<p>There are two ways to remove containers and there are two types of containers to be removed:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>docker container rm &lt;CONTAINER_ID&gt;<\/li><\/ol>\n\n\n\n<p>This command will remove all the containers in stopped state.<\/p>\n\n\n\n<p>If you want to remove containers which are in running state as well, you need the additional &#8216;-f&#8217; flag, &#8216;-f&#8217; stands for force, as in forcibly removing a running container.<\/p>\n\n\n\n<p>2. docker container prune<\/p>\n\n\n\n<p>Running this command will remove all the containers in stopped state.<\/p>\n\n\n\n<p>In the upcoming tutorial we will talk about exposing ports and executing commands inside our container and getting a containerized database up and running, stay tuned.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the previous tutorial, we went through the steps to get a container up and running. We used Postgres as an example. This section of the tutorial series will continue to build on that. In this section we will learn how to interact with the container, how to execute commands<\/p>\n","protected":false},"author":4,"featured_media":2363,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[5,3],"tags":[],"class_list":["post-2349","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledgebase","category-tutorial-how-to"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/docker-commands-1200x385-1.jpg?fit=1200%2C385&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-BT","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":2319,"url":"https:\/\/www.virtono.com\/community\/knowledgebase\/overview-of-docker-commands-part-1\/","url_meta":{"origin":2349,"position":0},"title":"Overview of Docker Commands Part &#8211; 1","author":"Shreyash Sharma","date":"March 10, 2021","format":false,"excerpt":"I suggest you get machine to follow along this part. So here's a little plug of our own: Cloud VPS, for as little as \u20ac2.95 a month. This article is a part of our complete series of articles on Docker. Click here to access the Free Series. Back to the\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/1_HS1OsFO7ayf_ZUzPus1FCQ.jpeg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/1_HS1OsFO7ayf_ZUzPus1FCQ.jpeg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/1_HS1OsFO7ayf_ZUzPus1FCQ.jpeg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/1_HS1OsFO7ayf_ZUzPus1FCQ.jpeg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/1_HS1OsFO7ayf_ZUzPus1FCQ.jpeg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3954,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-and-configure-docker-swarm-on-ubuntu-22-04\/","url_meta":{"origin":2349,"position":1},"title":"How to Install and Configure Docker Swarm on Ubuntu 22.04","author":"George B.","date":"September 27, 2023","format":false,"excerpt":"This tutorial will show you how to install and configure Docker Swarm on Ubuntu 22.04 ensuring that you harness its full potential for your containerized applications. For effectively scaling and managing containers, Docker Swarm is still a great option. Many developers and DevOps experts prefer it because of its ease\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-and-Configure-Docker-Swarm-on-Ubuntu.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3626,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-configure-a-private-docker-registry-in-ubuntu-22-04\/","url_meta":{"origin":2349,"position":2},"title":"How to Configure a Private Docker Registry in Ubuntu 22.04","author":"George B.","date":"June 26, 2023","format":false,"excerpt":"There are situations where you might want to set up your own private Docker registry even though Docker Hub offers a public registry for storing and sharing Docker images. In this guide, we'll show you how to set up a private Docker registry on Ubuntu 22.04 so you can manage\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-Configure-a-Private-Docker-Registry-in-Ubuntu-22-04.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-Configure-a-Private-Docker-Registry-in-Ubuntu-22-04.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-Configure-a-Private-Docker-Registry-in-Ubuntu-22-04.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":2287,"url":"https:\/\/www.virtono.com\/community\/knowledgebase\/docker-architecture-and-components\/","url_meta":{"origin":2349,"position":3},"title":"Docker Architecture and Components","author":"Shreyash Sharma","date":"March 7, 2021","format":false,"excerpt":"If you want to get hands-on real-world experience with understanding and deploying Docker Containers. Or if you have an idea and want to see it containerized online, I suggest you get a Cloud VPS, for as little as \u20ac2.95 a month. This article is a part of our complete series\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/DOCK02.png?fit=558%2C254&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/DOCK02.png?fit=558%2C254&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/DOCK02.png?fit=558%2C254&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":2296,"url":"https:\/\/www.virtono.com\/community\/knowledgebase\/docker-installation\/","url_meta":{"origin":2349,"position":4},"title":"Docker Installation","author":"Shreyash Sharma","date":"March 8, 2021","format":false,"excerpt":"I suggest you get machine to follow along this part. So here's a little plug of our own: Cloud VPS, for as little as \u20ac2.95 a month. This article is a part of our complete series of articles on Docker. Click here to access the Free Series. While Docker was\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/12122013Docker_twitter.png?fit=750%2C375&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/12122013Docker_twitter.png?fit=750%2C375&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/12122013Docker_twitter.png?fit=750%2C375&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2021\/03\/12122013Docker_twitter.png?fit=750%2C375&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3353,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/understanding-kubernetes-empowering-scalable-and-reliable-application-deployments\/","url_meta":{"origin":2349,"position":5},"title":"Understanding Kubernetes: Empowering Scalable and Reliable Application Deployments","author":"George B.","date":"May 19, 2023","format":false,"excerpt":"What is Kubernetes? Often abbreviated as K8s, is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications. Developed by Google and later donated to the Cloud Native Computing Foundation (CNCF), Kubernetes provides a robust framework for running and managing applications across a cluster of\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Understanding-Kubernetes.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Understanding-Kubernetes.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Understanding-Kubernetes.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/2349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/comments?post=2349"}],"version-history":[{"count":3,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/2349\/revisions"}],"predecessor-version":[{"id":2364,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/2349\/revisions\/2364"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/2363"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=2349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=2349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=2349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}