site/content/en/docs/tutorials/docker_desktop_replacement.md
This only works with the docker container runtime, not with containerd or crio.
You need to start minikube with a VM driver instead of docker, such as hyperkit on macOS and hyperv on Windows.
Alternatively, you can use the [minikube image build]({{< ref "/docs/commands/image#minikube-image-build" >}}) command instead of minikube docker-env and docker build.
tar utility. The docker binary is extracted.tar xzvf /path/to/<FILE>.tar.gz
sudo xattr -rc docker
/usr/local/bin/.sudo cp docker/docker /usr/local/bin/
{{% /tab %}} {{% /tabs %}} {{% /mactab %}} {{% windowstab %}} {{% tabs %}} {{% tab Chocolatey %}} Please Note: The docker engine requires the Windows Features: Containers and Microsoft-Hyper-V to be installed in order to function correctly. You can install these with the chocolatey command:
choco install Containers Microsoft-Hyper-V --source windowsfeatures
choco install docker-engine
This package creates the group docker-users and adds the installing user to it. In order to communicate with docker you will need to log out and back in.
{{% /tab %}}
{{% tab Manual %}}
Download the static binary archive. Go to https://download.docker.com/win/static/stable/x86_64 and select the latest version from the list.
Run the following PowerShell commands to install and extract the archive to your program files:
Expand-Archive /path/to/<FILE>.zip -DestinationPath $Env:ProgramFiles
Add the path to the Docker CLI binary (C:\Program Files\Docker) to the PATH environment variable, guide to setting environment variables in Windows.
Restart Windows for the PATH change to take effect.
{{% /tab %}}
{{% /tabs %}}
{{% /windowstab %}}
{{% /tabs %}}
minikube start --container-runtime=docker --vm=true
Note: the default profile name is minikube
{{% tabs %}} {{% tab "bash/zsh" %}}
eval $(minikube -p <profile> docker-env)
{{% /tab %}} {{% tab PowerShell %}}
& minikube -p <profile> docker-env --shell powershell | Invoke-Expression
{{% /tab %}} {{% tab cmd %}}
@FOR /f "tokens=*" %i IN ('minikube -p <profile> docker-env --shell cmd') DO @%i
{{% /tab %}} {{% tab fish %}}
minikube -p <profile> docker-env | source
{{% /tab %}} {{% tab tcsh %}}
eval `minikube -p <profile> docker-env`
{{% /tab %}} {{% /tabs %}}