Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache could not reliably determine the server's fully qualified domain name in docker image #205

Open
aasami opened this issue Feb 17, 2024 · 1 comment

Comments

@aasami
Copy link

aasami commented Feb 17, 2024

I'm unable to run docker image:

# docker compose up
[+] Running 1/0
 ✔ Container hauk  Created                                                                                                                                                        0.0s 
Attaching to hauk
hauk  | Started
hauk  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.20.0.2. Set the 'ServerName' directive globally to suppress this message
hauk  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.20.0.2. Set the 'ServerName' directive globally to suppress this message
hauk  | [Sat Feb 17 19:56:57.517619 2024] [mpm_prefork:notice] [pid 10] AH00163: Apache/2.4.57 (Debian) PHP/8.2.8 configured -- resuming normal operations
hauk  | [Sat Feb 17 19:56:57.517711 2024] [core:notice] [pid 10] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND

And when I check running services, nothing is listening on port 80.
Even when I try to run it like this:

# docker run -h hauk.mydomain.com bilde2910/hauk
Started
[Sat Feb 17 20:06:32.970414 2024] [mpm_prefork:notice] [pid 25] AH00163: Apache/2.4.57 (Debian) PHP/8.2.8 configured -- resuming normal operations
[Sat Feb 17 20:06:32.970491 2024] [core:notice] [pid 25] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'

Nothing is listening on port 80. I'm kinda new to docker and don't know how to troubleshoot this.
What can I do about this issue? The readme and docs don't cover this. Thank you

@CataIana
Copy link

CataIana commented Mar 2, 2024

Hi, I get this as well, but it still works fine, I would just ignore it.
Just make sure you set your domain at the bottom of the config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants