Closed ofaurax closed 2 months ago
I get the following error when running docker image :
$ docker run --name arvin2 --network host -it arvin2
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.65.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.65.3. Set the 'ServerName' directive globally to suppress this message
The webpage is not available at http://localhost:1912
.
I quickly searched on internet a way to fix it but nothing worked.
Running on :
Complete output of docker running :
$ docker run --rm --name arvin2 --network host -it arvin2
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.65.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.65.3. Set the 'ServerName' directive globally to suppress this message
[Sat Apr 27 14:32:25.284401 2024] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.54 (Debian) PHP/7.4.33 configured -- resuming normal operations
[Sat Apr 27 14:32:25.284441 2024] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
Output in firefox :
Did you try to access http://192.168.65.3:1912
?
Do you try to access it from windows or Ubuntu? It should be accessible from the host OS running docker
Did you try to access
http://192.168.65.3:1912
?
Yes, didn't work either.
Do you try to access it from windows or Ubuntu? It should be accessible from the host OS running docker
It works on my Debian computer, I've just tried it.
The problem should come from my windows laptop which I tried first. Maybe there is an error with WSL. I will search deeper on my configuration but it shouldn't imply to modify the Dockerfile. However maybe the commands given in README.md shall be adapted.
Fix #5