shinsenter / php

📦 Simplified PHP Docker images for effortless customization and extension setup. Our Docker images cover PHP versions from 5.6 to 8.4, available in CLI, ZTS, FPM, FPM/Apache2, FPM/Nginx, RoadRunner, FrankenPHP, and Nginx Unit variants, for both Debian and Alpine versions. Updated everyday.
https://hub.docker.com/r/shinsenter/php
GNU General Public License v3.0
159 stars 26 forks source link

Magento: /run/s6/basedir/scripts/rc.init: fatal: stopping the container. #159

Open leon-zhang-awx opened 5 days ago

leon-zhang-awx commented 5 days ago

Hello, dear developer I have run this command:

docker run -p 80:80 -p 443:443 -p 443:443/udp \
    -v ./mymagento4:/var/www/html \
    ghcr.io/shinsenter/magento:php8.3

It fails:

nginx version: nginx/1.22.1 2024/10/30 06:41:15 [emerg] 906#906: duplicate location "/" in /etc/nginx/sites-enabled/00-default.conf:18 nginx: configuration file /etc/nginx/nginx.conf test failed /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information. /run/s6/basedir/scripts/rc.init: fatal: stopping the container.

shinsenter commented 5 days ago

Hello @leon-zhang-awx,

Thank you for reporting the issue.

I've uploaded a bug fix. I am currently rebuilding all Docker images and it will take a few hours to complete the build, so please wait and try again with the new Docker images once it's done.

Thank you!