Windows Subsystem for Linux Support

How to make WSL compatible with docker?

Follow the further steps to make docker runnable with your Windows Subsystem for Linux (WSL) in easy steps:

  • Install docker on WSL Linux shell. (Don't forget to install docker on windows and follow post-installation instructions)

  • On Linux shell, run post docker installation commands.

  • After installing docker on windows and wsl, configure the Docker CLI on WSL by following further steps.

  • Add these lines to the end of your ~/.bashrc file in your WSL:

export DOCKER_HOST=tcp://192.168.99.100:2376
export DOCKER_CERT_PATH=/mnt/c/Users/<YOUR_USERNAME>/.docker/machine/certs
export DOCKER_TLS_VERIFY=1

Note: (Don't forget to replace <YOUR_USERNAME> with your username and change IP Address as per your "docker-machine ip" output in powershell).

  • Run in your WSL terminal:

$ source ~/.bashrc
  • Congratulation, you are all set to install tezster-cli.