Answer the question
In order to leave comments, you need to log in
How to find out the address where the container is available in windows?
I'm just trying to work with Docker - don't kick too much and thanks in advance to those who responded!
I use docker toolbox on windows 7
There are two images:
1) pg - database (Postgre);
2) app - debian with a django application, the image of which is built from dockerFile - at the end of which the dev server is launched
CMD ["python","./vfnd/manage.py","runserver", "0.0.0.0:8001"])
docker run -d --name pg_1 pg
docker run -d -p 8001:8001 --link pg_1 --name app_1 app
docker inspect -f "{{ .NetworkSettings.Networks.nat.IPAddress }}" app_1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question