httpd: bad user name daemon error when deploying from Dockerfile in php

jooklloHOBBY

2 months ago

I created a dockerfile that builds correctly but when it is deploying, I get the error AH00543: httpd: bad user name daemon.

I added the username in the dockerfile:
echo 'User daemon' >> /etc/apache2/httpd.conf && \ echo 'Group daemon' >> /etc/apache2/httpd.conf && \
But I am still getting the same error.

Awaiting User Response

1 Replies

parmstarEMPLOYEE

2 months ago

Ensure that the 'daemon' user and group exist in the container. Verify the existence of the 'daemon' user and group or consider using a different user that is available in the base image.


Status changed to Awaiting User Response railway[bot] about 2 months ago