exposing port running on docker-machine to local network
On my windows 10, I have docker container running on docker machine(that uses boot2docker), ip
the docker container I started was using this command
on Virtualbox runnning boot2docker VM, I have set port to 3141 forward
but above configuration is also not helping out.. so how can I configure this and where on windows 10 host machine ?
Code: Select all
192.168.99.100 , on that machine I have port 3141 open running devpi, I can access this ip on my local host, but I want to exposeCode: Select all
192.168.99.100:3141 to local network.the docker container I started was using this command
Code: Select all
docker run -d --restart=always --name devpi -p 3141:3141 scrapinghub/devpi since I have -p 3141:3141 I can open on the host machine running docker machine, but my host machine whose ip on internal network is 192.168.0.10 does not have 192.168.99.100:3141 mapped to 192.168.0.10:3141..on Virtualbox runnning boot2docker VM, I have set port to 3141 forward
but above configuration is also not helping out.. so how can I configure this and where on windows 10 host machine ?