ip - Unable to connect to docker host when network changes -




here have 2 cases.

my office address 10.10.33.xx changing every day , home ip address 192.168.0.100/101/102

so want set single static ip both cases on windows 10

please suggest way handle this

thanks, kusuma

you communicate containers of links. example consider application mongo , node. can start mongo container with:

docker run --name mymongodb -d mongo 

start express app with:

docker run --express --link mymongodb:mongo  -p 8080:3000 -d username/express 

here in such system access containers alias mongo. access mongo container express with:

const dbhost = 'mongodb://mongo/mean-docker';  

this concept can scaled per need number of containers. solve problem of changing ip.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -