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
$ 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
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
Post a Comment