Accessing apache2 residing inside Docker container from Host machine web browser
I have been creating a webserver as Docker container and trying to access it outside the container. But I can't. What I am doing is. -Pulling a ubuntu image: docker pull ubuntu:14.04 -Starting a container: docker -t -i -p 49200:2375 [image-id] and after installing apache2 in newly started container I can ping the apache2 server inside container, I can also do curl and see results in container terminal, but no luck outside on host machine. I have tried many times. (I am using Virtual Box on windows) Screen shots: Questions: Am I using right docker commands and port numbers to create container.