No such file or directory't execute 'bash
Closed this issue · 9 comments
I am getting No such file or directory't execute 'bash while tried to run the PHP image.
Hello, which operating system and can you send more details?
I have Windows 11 Pro installed.
Docker version 24.0.6, build ed223bc.
WSL version: 2.0.9.0
@skjamil can you send me a print of the logs at the time of the errors so I can debug? I don't have windows/linux.
Hi, I haven't had time to test it on Windows/Linux yet, I only use MacOS, I'll test it as soon as possible.
It may be a path that is not recognized in Windows.
As soon as I can test it I'll let you know, if you've managed to adjust it let me know.
Hi @skjamil, im add this line on php DockerFile RUN apk update && apk add bash
after install composer and run this command on console docker-compose up --build --force-recreate --no-deps php
@eduanayardo and @skjamil
Thank you for the answer, I confess that I haven't had time to carry out a test on Windows yet, maybe I'll be able to do it at the weekend, but if it works, you can open a PR, thank you very much.
Hi Vagner, let me do another test with this change and i make a PR
Issue closed, if you want to talk about it again, feel free to open another one.