boot2docker - Docker container not exposed on network -


i new docker. running on windows. trying container named "ghost" (available docker hub) work on windows 8.1 machine. while container starts correctly , supposedly exposes url @ http://localhost:2368, when enter address nothing happens. same has happened when trying other containers hub expose urls.

i tried accessing container's exposed url ip address "docker ip" failed too. tried running container "--net="bridge"" option, no avail. think i'm missing pretty basic, can't life of me figure out what. can point me in right direction?

when install docker on windows means installed boot2docker.

boot2docker starts minimal linux vm (based on virtualbox) because docker requires linux kernel run. docker daemon started on vm , not on localhost.

you can determine vms ip address typing boot2docker ip on command line. standard boot2docker ip address 192.168.59.103 if did not configure else or have multiple instances of vm running.

so when execute docker run --name ghost -p 2368:2368 -d ghost port 2368 opened @ 192.168.59.103:2368. need connect to.

for more information please read official boot2docker documentation.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -