Install Kubernetes with Docker client

Kubernetes is a DevOps tool that is used for the management of containers and their deployment. For development purposes, it can be installed through minikubesA kubernetes tool with lightweight implementation. and the docker client.

Kubernetes server and client can easily be installed through the following few steps:

  1. First, install the docker client's latest version on your machine.

  2. Open the preferences of the docker desktop, and it will show a "Kubernetes" section on the left in the dashboard. In this section, an option "Enable Kubernetes" will be available to enable Kubernetes, as shown in the diagram:

Installing Kubernetes in Docker client
Installing Kubernetes in Docker client
  1. Select this option and select the option given at the bottom right to "Apply and Restart."

Now the command Kubernetes CLI command will be available on your machine. It was as simple as this to install Kubernetes on the Docker desktop.

Note: To update Kubernetes installed in the docker client to the newest version, select "Reset Kubernetes Cluster" and then select "Apply and Restart."

New on Educative
Learn to Code
Learn any Language as a beginner
Develop a human edge in an AI powered world and learn to code with AI from our beginner friendly catalog
🏆 Leaderboard
Daily Coding Challenge
Solve a new coding challenge every day and climb the leaderboard

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved