idea
running docker client from WSL
Windows Steps
- Install Docker on Windows.
- Expose Docker on Windows to the WSL.
- General >
expose Daemon on tcp://...
- General >
WSL Steps
- Remove all previous docker installations.
sudo apt-get purge docker docker.io docker-ce - Install Docker with a single-line command.
sudo curl -sSL https://get.docker.com/ | sh - Update and upgrade.
sudo apt update && sudo apt upgrade - Set an environment variable.
export DOCKER_HOST=tcp://0.0.0.0:2375into profile.