Enabling Kubernetes support in Docker Desktop for macOs

Garis Space
1 min readDec 6, 2022

--

If you are a developer working with Docker on a Mac, you may have noticed that the Docker Desktop application does not include support for Kubernetes out of the box. In this blog post, we will explain how to enable Kubernetes support in Docker Desktop for macOs, so that you can start using Kubernetes to manage your Docker containers and applications.

To enable Kubernetes support in Docker Desktop for Mac, follow these steps:

  1. Open Docker Desktop by clicking on the Docker icon in the menu bar.
  2. Click on the “Preferences” menu item in the Docker Desktop menu.
  3. In the Preferences dialog, select the “Kubernetes” tab.
  4. Click on the “Enable Kubernetes” checkbox to enable Kubernetes support in Docker Desktop.
  5. Click on the “Apply & restart” button to save your changes and enable Kubernetes support in Docker Desktop.
Docker Desktop Settings

Docker Desktop will now download and install the necessary Kubernetes components, including the Kubernetes command-line tool (kubectl). This process may take a few minutes to complete.

You can now use Kubernetes in Docker Desktop. To verify that it is working, try running a simple Kubernetes command, such as kubectl version to display the version of Kubernetes that is installed.

--

--