If you would like to use docker on windows Ubuntu/Debain WSL you have to modify the .bashrc file in your home directory.
1 |
vi ~/.bashrc |
and add this line to the end:
1 |
export DOCKER_HOST=tcp://localhost:2375 |
reload the modifications:
1 |
source ~/.bashrc |
That’s all folks 😀