vagnercardosoweb / docker-php8

Docker with php8.2+, apache, mysql, postgresql, phpmyadmin, redis, nginx and pgadmin
MIT License
112 stars 164 forks source link

docker.php does always restart #14

Open sh-si opened 3 months ago

sh-si commented 3 months ago

Description: After cloning the repository and starting docker with default settings docker compose up --build" docker.php goes into restarting mode.

Steps to Reproduce:

  1. clone repo
  2. navigate into directory and run docker compose up --build

Expected Behavior: docker.php is starting without any error

Actual Behavior: output:

docker.php exited with code 127
': No such file or directoryn't execute 'bash
': No such file or directoryn't execute 'bash
': No such file or directoryn't execute 'bash
': No such file or directoryn't execute 'bash
': No such file or directoryn't execute 'bash
': No such file or directoryn't execute 'bash
': No such file or directoryn't execute 'bash
': No such file or directoryn't execute 'bash

Additional Information:

Impact: This issue prevents users from accessing localhost. Result is "502 Bad Gateway" page.

It has sth. to do with entrypoint script. If you comment out Line 104 in docker/php/Dockerfile it works.

vagnercardosoweb commented 3 months ago

Hello, I'm not using Windows at the moment, but this week I'm going to carry out some tests on another Windows computer. Return soon.

ShaoKhan commented 3 weeks ago

running in the same error using only the php service

': No such file or directoryn't execute 'bash

using windows 11.

Maybe it depends on the 'entrypoint and the line

#!/usr/bin/env bash

is not usable by windows ?

vagnercardosoweb commented 3 weeks ago

@ShaoKhan What information about the operating system used?