Docker Client
This is how you can install the docker client in WSL2. This is an supporting article for the post Minikube - podman - wsl2 that needs the docker client app as one of the prerequites.
Installation Steps
Download the correct tar file for your Linux system using the link below.
Unpack the tar file and copy the docker/docker file to a location in your path, e.g. /usr/local/bin.
tar -xzf docker-20.10.9.tgz
sudo cp docker/docker /usr/local/bin
Try to run the client
$ docker --help
Usage: docker [OPTIONS] COMMAND
A self-sufficient runtime for containers
Options:
--config string Location of client config files (default "/home/peza/.docker")
-c, --context string Name of the context to use to connect to the daemon (overrides DOCKER_HOST env var and
default context set with "docker context use")
-D, --debug Enable debug mode
...
[extra text deleted]