Docker Community Forums

Share and learn in the Docker community.

Can’t reach a local website through apache in a docker container (windows & docker toolbox)


(Amishgupta) #1

I am using windows toolbox for docker, when I try to run command for apache or nginx, I get error similar to one mentioned below. Could any one help.

PS C:\Users\Amish> docker container run --publish 8080:80 httpd
AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using 172.17.0.2. Set the ‘ServerName’ directive globally to suppr
ess this message
AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using 172.17.0.2. Set the ‘ServerName’ directive globally to suppr
ess this message
[Sat Nov 04 05:47:46.840039 2017] [mpm_event:notice] [pid 1:tid 140425412069248] AH00489: Apache/2.4.29 (Unix) configured – resuming normal operations
[Sat Nov 04 05:47:46.840339 2017] [core:notice] [pid 1:tid 140425412069248] AH00094: Command line: ‘httpd -D FOREGROUND’