If i want to use docker from WSL in windows 10, Doing the following will do the trick. I should expose the docker daemon on tcp://localhost:2375 without TLS in the general settings of 'docker for windows'. This is accomplished via the screen:
Then i should to set a environment variable in WSL as:
echo "export DOCKER_HOST=tcp://localhost:2375" >> ~/.bashrc
Can i use any command to expose the daemon? I mean, is there any way to do this other than enabling the option via settings GUI of docker?
It will be great to also know about the solution to share the drives using commands.