Access to Docker Container Port -
im running boot2docker. have container running ive opened port 8000 for. i.e
docker@boot2docker:/home/djangoapp/testtools$ docker ps -a container id image command created status ports names 4c52d46227f2 felix001/djangoapp:1.0 "/bin/bash" 22 hours ago 22 hours 127.0.0.1:8000->8000/tcp ecstatic_noyce
however if try access port rst,
docker@boot2docker:/home/djangoapp/testtools$ curl http://127.0.0.1:8000 curl: (56) recv failure: connection reset peer
any ideas ?
you need use ip address of boot2docker vm. 192.168.59.103
.
Comments
Post a Comment