Docker Desktop's Kubernetes Setup
Docker Desktop's Kubernetes Setup
Docker Desktop's Kubernetes Setup
2-22-2021
These instructions are for using Docker Desktop's built-in Kubernetes instead of Minikube on
macOS. If Docker Desktop is not supported on your OS, or, you wish to use Minikube, please
see the instructions for installing and configuring Minikube here.
Note - It is assumed that Docker Desktop has already been installed and is in a working
state.
1. Click the Docker icon found on the right side of the macOS menu bar.
6. After the installation dialog disappears, click the Docker icon to make sure there is a
Kubernetes is running message and green circle.
7. Then, select Kubernetes in this dropdown menu and make sure the context is set to
docker-desktop and not something else like minikube or kind.
8. Finally, open up your terminal and make sure that you can run kubectl version
Note - the client and server can be off by one minor version without error or issue.
Usage
Going forward, any minikube commands run in the lecture videos can be ignored. Also, you
will be using localhost to access the services running in your cluster instead of the minikube
IP address.
For example, in the first project where we deploy our simple React app, using minikube we
would visit:
192.168.99.101:31515