vagnercardosoweb/docker-php8

docker.php does always restart

sh-si opened this issue · 5 comments

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:

  • Operating System: Win11
  • Error Message: ': No such file or directoryn't execute 'bash

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.

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.

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 ?

@ShaoKhan What information about the operating system used?