WSL connect docker daemon to docker for windows 1

WSL connect docker daemon to docker for windows

echo "export DOCKER_HOST=tcp://localhost:2375" >> ~/.bashrc && source ~/.bashrc

Here is what the above code is Doing:
1. Install Docker
2. Install Docker Compose
3. Install Docker Machine
4. Create a Docker Machine called “default”
5. Set the environment variable DOCKER_HOST to point to the Docker Machine

Similar Posts