{"id":36565,"date":"2022-06-07T14:02:53","date_gmt":"2022-06-07T14:02:53","guid":{"rendered":"https:\/\/www.techrepublic.com\/?p=3975975"},"modified":"2022-06-07T14:02:53","modified_gmt":"2022-06-07T14:02:53","slug":"how-to-install-docker-desktop-and-enable-kubernetes-support","status":"publish","type":"post","link":"https:\/\/cloudnewshub.com\/?p=36565","title":{"rendered":"How to install Docker Desktop and enable Kubernetes support"},"content":{"rendered":"<div id>\n<p> Jack Wallen shows you how to install Docker Desktop and extend it with Kubernetes and Portainer support. <\/p>\n<\/div>\n<div id>\n<figure id=\"attachment_3975992\" aria-describedby=\"caption-attachment-3975992\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3975992\" src=\"http:\/\/cloudnewshub.com\/wp-content\/uploads\/2022\/06\/how-to-install-docker-desktop-and-enable-kubernetes-support-75.jpg\" alt=\"shipping containers in the shape of a docker whale\" width=\"1400\" height=\"854\"><figcaption id=\"caption-attachment-3975992\" class=\"wp-caption-text\">Image: Adobe Stock<\/figcaption><\/figure>\n<p>Containerized applications are only going to increase in popularity year by year, which means every developer and admin has to know how to deploy and manage those containers and services. To that end, several GUI tools have been developed and released to make the job considerably easier.<\/p>\n<p>But not all of those tools are created equal. To date, my absolute favorite Docker GUI is <a href=\"https:\/\/www.techrepublic.com\/search\/?q=portainer\" target=\"_blank\" rel=\"noopener noreferrer\">Portainer<\/a>, but there are plenty of other options. One such application is the official Docker Desktop GUI that\u2019s available for Linux, macOS, and Windows. Although Docker Desktop doesn\u2019t give you nearly the amount of features and controls found in Portainer, it\u2019s still a great GUI that allows you to manage running containers, pull and manage images, deploy containers from images, create development environments, add Kubernetes support, and even expand the feature set with extensions.<\/p>\n<p>I want to walk you through the installation of Docker Desktop on Pop!_OS Linux and show you how to enable Kubernetes support and even extend it with Portainer.<\/p>\n<aside class=\"pinbox right\">\n<h3 class=\"heading\">Must-read developer coverage<\/h3>\n<\/aside>\n<p><strong>SEE: <a href=\"https:\/\/www.techrepublic.com\/resource-library\/whitepapers\/hiring-kit-back-end-developer\/\" target=\"_blank\" rel=\"noopener noreferrer\">Hiring kit: Back-end Developer<\/a> (TechRepublic Premium)<\/strong><\/p>\n<h2>How to install Docker Desktop<\/h2>\n<p>As I mentioned, Docker Desktop is available for Linux, macOS, and Windows. The installation of both macOS and Windows is the same as installing any app on your desktop. In case you\u2019re not familiar with installing apps on Linux, let me show you how easy it is to install Docker Desktop on Pop!_OS Linux.<\/p>\n<h3>1. Download the DEB file and install<\/h3>\n<p>The first thing you must do is download the DEB file from the <a href=\"https:\/\/docs.docker.com\/desktop\/release-notes\/\" target=\"_blank\" rel=\"noopener noreferrer\">Docker Desktop download page<\/a>. Once that file has been downloaded, open a terminal window and issue the command (assuming you saved the file in your Downloads directory):<\/p>\n<p><code>sudo dpkg -i ~\/Downloads\/docker-desktop-*.deb<\/code><\/p>\n<p>Should the installation error out, you can fix it with:<\/p>\n<p><code>sudo apt-get install -f<\/code><\/p>\n<h3>2. Open and link to Docker Hub<\/h3>\n<p>Once the installation completes, open Docker Desktop from your desktop menu. One of the first things you might want to do is link Docker Desktop to your Docker Hub account. For that, click the Sign-Up button near the top right of the main window (<strong>Figure A<\/strong>).<\/p>\n<p><strong>Figure A<\/strong><\/p>\n<figure id=\"attachment_3975984\" aria-describedby=\"caption-attachment-3975984\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3975984\" src=\"http:\/\/cloudnewshub.com\/wp-content\/uploads\/2022\/06\/how-to-install-docker-desktop-and-enable-kubernetes-support-76.jpg\" alt=\"View of Docker Desktop where you can add Portainer support.\" width=\"1265\" height=\"704\"><figcaption id=\"caption-attachment-3975984\" class=\"wp-caption-text\">I\u2019ve already added Portainer support to Docker Desktop for even more functionality.<\/figcaption><\/figure>\n<p>Clicking signup will open your default web browser, where you sign in to your Docker Hub account. Once you\u2019ve signed in, you\u2019ll be redirected back to the application and you\u2019re ready to go.<\/p>\n<h2>How to enable Kubernetes support<\/h2>\n<p>By enabling Kubernetes support, Docker Desktop will install a single-node cluster. To do this, click the gear icon in the top right corner of the Docker Desktop main window, and then, in the left navigation (<strong>Figure B<\/strong>), click Kubernetes.<\/p>\n<p><strong>Figure B<\/strong><\/p>\n<figure id=\"attachment_3975985\" aria-describedby=\"caption-attachment-3975985\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3975985\" src=\"http:\/\/cloudnewshub.com\/wp-content\/uploads\/2022\/06\/how-to-install-docker-desktop-and-enable-kubernetes-support-77.jpg\" alt=\"Extend the feature set in the settings window.\" width=\"1265\" height=\"704\"><figcaption id=\"caption-attachment-3975985\" class=\"wp-caption-text\">The Docker Desktop Settings window is ready for you to extend the feature set.<\/figcaption><\/figure>\n<p>In the resulting window (<strong>Figure C<\/strong>), click Enable Kubernetes.<br \/><strong>Figure C<\/strong><\/p>\n<figure id=\"attachment_3975986\" aria-describedby=\"caption-attachment-3975986\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3975986\" src=\"http:\/\/cloudnewshub.com\/wp-content\/uploads\/2022\/06\/how-to-install-docker-desktop-and-enable-kubernetes-support-78.jpg\" alt=\"Enable Kubernetes support in Docker desktop. \" width=\"1265\" height=\"704\"><figcaption id=\"caption-attachment-3975986\" class=\"wp-caption-text\">Enabling Kubernetes support in Docker Desktop.<\/figcaption><\/figure>\n<p>This will take some time, as Docker Desktop has to download a few components. Once it completes, Kubernetes will start and you should see its icon (bottom left corner) turn green. Kubernetes has been enabled.<\/p>\n<h2>How to extend Docker Desktop with extensions<\/h2>\n<p>Next, let\u2019s add the Portainer extension, which greatly enhances the Docker Desktop feature set. For that, click the menu icon associated with Extensions and then click Marketplace. In the right pane, scroll down until you see the Portainer entry and then click Install (<strong>Figure D<\/strong>).<\/p>\n<p><strong>Figure D<\/strong><\/p>\n<figure id=\"attachment_3975988\" aria-describedby=\"caption-attachment-3975988\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3975988\" src=\"http:\/\/cloudnewshub.com\/wp-content\/uploads\/2022\/06\/how-to-install-docker-desktop-and-enable-kubernetes-support-79.jpg\" alt=\"Docker desktop view with button to install portainer extension\" width=\"1265\" height=\"704\"><figcaption id=\"caption-attachment-3975988\" class=\"wp-caption-text\">Installing the Portainer extension in Docker Desktop.<\/figcaption><\/figure>\n<p>Once installed, click the Portainer entry in the left panel to reveal the Environment wizard (<strong>Figure E<\/strong>). You can then add an environment (which tells me this version of Portainer is a bit out of date, as the newer versions ship with a pre-configured local environment).<\/p>\n<p><strong>Figure E<\/strong><\/p>\n<figure id=\"attachment_3975989\" aria-describedby=\"caption-attachment-3975989\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3975989\" src=\"http:\/\/cloudnewshub.com\/wp-content\/uploads\/2022\/06\/how-to-install-docker-desktop-and-enable-kubernetes-support-80.jpg\" alt=\"Final view of Docker Desktop with Portainer GUI installed.\" width=\"1265\" height=\"704\"><figcaption id=\"caption-attachment-3975989\" class=\"wp-caption-text\">Portainer is installed and ready for you to set up the first environment.<\/figcaption><\/figure>\n<p>And that, my friends, is all there is to installing and expanding Docker Desktop to meet and exceed your container management needs.<\/p>\n<p><strong>Subscribe to TechRepublic\u2019s <a href=\"https:\/\/www.youtube.com\/channel\/UCKyMiy1zmJ7aZ8aP6DLZLIA\" target=\"_blank\" rel=\"noopener noreferrer\">How To Make Tech Work on YouTube<\/a> for all the latest tech advice for business pros from Jack Wallen.<\/strong><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Jack Wallen shows you how to install Docker Desktop and extend it with Kubernetes and Portainer support. Image: Adobe Stock Containerized applications are only going to increase in popularity year by year, which means every developer and admin has to know how to deploy and manage those containers and services. To that end, several GUI [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":36566,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,783],"tags":[],"class_list":["post-36565","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-cloudsync"],"_links":{"self":[{"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/posts\/36565","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=36565"}],"version-history":[{"count":0,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/posts\/36565\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=\/wp\/v2\/media\/36566"}],"wp:attachment":[{"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=36565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=36565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudnewshub.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=36565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}