1. Installation - jbellver99/minikube-podman GitHub Wiki

Note
The development of this solution has moved to devonfw-forge/podman-minikube.
This repository will remain available some time to avoid broken links.

IMPORTANT: Before starting the installation, be sure you don’t have Docker Desktop installed.

1.1 Setup environment

Open installer directory and execute 1-setup-environment.cmd. It will ask you for administrator privileges, accept.

Warning
If your Windows base localization (regardless of language packs later installed) is not English, the last step of the setup will fail, showing an error message and guidance to help you solve it, please pay attention to it and proceed accordingly.

On success, the installer will ask you for confirmation to restart your computer, which is needed to apply the changes. If you had to perform manually the last step as per above warning, please restart manually before proceeding.

1.2 Install Minikube

Once rebooted, download and install Minikube

1.3 Setup Minikube

Default setup

Open installer directory and execute 2-setup-minikube.cmd. This will perform the default setup. If you want/need to customize memory and storage allocation, go to next section instead.

Now you are able to use podman <command> (or its alias docker <command>) as well as minikube and kubectl freely.

Note
When exposing a container port to access an application, with Docker Desktop you used to connect to localhost, but with Podman you need to connect to Minikube VM IP, which you can check using minikube ip.

Find out more on Using Podman and Minikube.

Custom setup

Open a PowerShell window on installer directory. You can achieve that right clicking within the folder in File Explorer while pressing Shift key, and selecting "Open PowerShell window here" option in the context menu. Still in trouble? Find some help here.

Execute the following command providing appropriate flags:

.\scripts\setup_minikube.ps1 <flags>

Flags

-m <value in MB> or -memory <value in MB> defines RAM memory allocation for Minikube VM. The value must be 1800 or greater. By default, all the memory minus 8GB and a minimum of 1800MB is allocated.

-d enables dynamic memory allocation, setting 1800MB as a minimum, and the value set (either manually or by default) with the -m flag as a maximum. It is advised to use this flag only when having 12GB of RAM or greater.

-s <value in MB> or -storage <value in MB> defines virtual disk size for Minikube VM. By default, 20GB are provisioned.

Example

.\scripts\setup_minikube.ps1 -m 3000 -d -s 40000

This will activate dynamic memory between 1800Mb and 3000Mb, and provision 40GB for storage.

⚠️ **GitHub.com Fallback** ⚠️