php-docker-apache-example icon indicating copy to clipboard operation
php-docker-apache-example copied to clipboard

This site can’t be reached

Open ghost opened this issue 9 years ago • 1 comments

I try to follow the command you provdie

  1. docker build -t php-docker-apache-example
  2. docker run -d -p 8080:80 php-docker-apache-example

when I try to enter http://localhost:8080 and I get this site cann't be reached. I am now using docker toolbox under window 7

ghost avatar Oct 04 '16 09:10 ghost

You have to use the docker machine IP

hthiers avatar Feb 07 '18 04:02 hthiers