Closed prancius closed 6 years ago
You might want to use export DOCKER_HOST=tcp://0.0.0.0:2375
on ~/.bash_profile and then you need to enable Expose Daemon on Docker settings.
@prancius the suggestion above did work?
Just adding some more context and making my comment easier to follow.
echo "export DOCKER_HOST=tcp://0.0.0.0:2375" >> ~/.bashrc && source ~/.bashrc
echo source ~/.bashrc >> ~/.bash_profile
b. echo "export DOCKER_HOST=tcp://0.0.0.0:2375" >> ~/.bash_profile && source ~/.bash_profile
First time I used option a, but with some new updates from Microsoft bashrc is not being sourced when it starts for some reason. That's why I added the source on .bash_profile. Either way will work for you.
No curl on windows.
@LiamKarlMitchell You don't need curl for this.
Would be nice to have clear instruction running for windows10 with docker, docket-compose and docker-sync . Command by command tutorial. Now i am stuck that : Can not connect to docker at 127.0.0.1:2375