You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 27, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 27, 2018. It is now read-only.
Running the latest version 1.0.1 on Windows with a clean install and VirtualBox 4.3.12r93733, I have a container running and "docker ps" says the ports are: 0.0.0.0:49153->5858/tcp, 0.0.0.0:49154->8080/tcp, 0.0.0.0:49155->8181/tcp
From within the "boot2docker ssh" window, I can type:
docker@boot2docker:~$ curl -I localhost:49154
HTTP/1.1 200 OK
...
But if I try every possible IP I can think of on the host with port 8080, I get HTTP/1.1 503 Service Unavailable
I tried the port-forwarding script from cygwin to forward all ports between 49000..49900 (which used to work before version 1.0.0), but that doesn't seem to work anymore.
I'm probably doing something wrong, but don't know what it is. Any ideas?
when it says 0.0.0.0:49154->8080/tcp it means that the container's port 8080 is hooked up to your boot2docker vm's port 49154.
virtualbox's port forwarding is terrible, so in b2d 1.0, we've added a host only network - and the vm's ip can be gotten using boot2docker ip: chances are that it'll report 192.168.59.103
then you will be able to http://192.168.59.103:49154
Activity
SvenDowideit commentedon Jun 26, 2014
when it says
0.0.0.0:49154->8080/tcpit means that the container's port 8080 is hooked up to your boot2docker vm's port 49154.virtualbox's port forwarding is terrible, so in b2d 1.0, we've added a host only network - and the vm's ip can be gotten using
boot2docker ip: chances are that it'll report192.168.59.103then you will be able to
http://192.168.59.103:49154gmlewis commentedon Jun 26, 2014
Thank you very much, Sven, for the explanation! That was the issue.
Closing.
Merge pull request boot2docker#164 from SvenDowideit/pr/101
don't use port forwarding with Virtualbox