docker - Boot2Docker mannaging ports and openning webapplications -


i using boot2docker in yosemite trying run swagger-io.

in virtualbox, in vm docker runs port forwarded port 8080. run boot boot2docker , cloned repository

enter image description here

$ git clone https://github.com/swagger-api/swagger-ui.git $ cd swagger-ui-builder $ docker build -t swagger-ui-builder . $ docker run -p 127.0.0.1:8080:8080 swagger-ui-builder 

enter image description here

the container running connection refuse when try load page in ip of container , dont understand why.

thank you

try with:

docker run -p 8080:8080 swagger-ui-builder 

if still doesn't work, remove 127.0.0.1 in virtualbox redirection port gui. (that make in "broadcast mode")

that consider fact boot2docker vm not 127.0.0.1 (type boot2docker ip in cmd console) typically s 192.168.59.103.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -