How to run simple minikube inside docker?

by cathrine_goyette , in category: General Help , 7 months ago

How to run simple minikube inside docker?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers


by tina , 7 months ago


To run Minikube inside Docker, you can follow these steps:

  1. Install Docker: If Docker is not already installed on your system, you can download and install it according to your operating system from the Docker website (
  2. Install Minikube: Download and install Minikube based on your operating system from the Minikube GitHub repository ( Follow the installation instructions provided by the repository.
  3. Create a Docker network: Minikube requires a Docker network to communicate with Docker. Create a Docker bridge network using the following command: docker network create minikube
  4. Start Minikube: Run the following command to start Minikube using the Docker driver and specify the Docker network created in the previous step: minikube start --driver=docker --network=minikube
  5. Verify the status: Once Minikube starts successfully, you can check the status with the following command: minikube status If everything is running fine, it should show that the cluster is running.
  6. Interact with Minikube: You can now use the Minikube cluster as you would with a regular Kubernetes cluster. For example, you can create and deploy Kubernetes resources, manage pods, and use kubectl to interact with the cluster. To use the kubectl command-line tool, you need to install it on your system if you don't have it already. Refer to the official Kubernetes documentation for instructions on how to install kubectl ( Once you have kubectl installed, you can use it to interact with the Minikube cluster like any other Kubernetes cluster. For example, to get the list of pods running in the cluster, you can run: kubectl get pods

Note: Running Minikube inside Docker has some limitations, and it may not have the exact behavior of a regular Minikube installation.

by georgiana.senger , 2 months ago


Additionally, running Minikube inside Docker may require significant resources from your system, so make sure you have enough memory and CPU allocated to Docker to run Minikube smoothly.

If you encounter any issues while running Minikube inside Docker, you can refer to the Minikube documentation, Docker documentation, and respective troubleshooting guides for help.