Not familiar with your error but you can check these threads:
https://laracasts.com/discuss/channels/laravel/laravel-sail-sail-up-command-not-running
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Using Docker for the first time on a new Windows computer. I followed the instructions to create a new project - i.e. installed Docker and WSL2 without apparent problems. Ran the command curl -s https://laravel.build/example-app | bash and it seemed to work ok, sail application containers are built and no apparent errors. I cd into the project folder, and a vanilla Laravel project is there. Run ./vendor/bin/sail up and looks fine.
But nothing shows at http://localhost - just a blank screen. Back in Ubuntu cli I ctrl-c to stop the project, then if I run sail up again I get:
File "bin/docker-compose", line 3, in <module>
File "compose/cli/main.py", line 67, in main
File "compose/cli/main.py", line 123, in perform_command
File "compose/cli/command.py", line 69, in project_from_options
File "compose/cli/command.py", line 125, in get_project
File "compose/cli/command.py", line 184, in get_project_name
File "posixpath.py", line 383, in abspath
FileNotFoundError: [Errno 2] No such file or directory
[882] Failed to execute script docker-compose
Traceback (most recent call last):
File "bin/docker-compose", line 3, in <module>
File "compose/cli/main.py", line 67, in main
File "compose/cli/main.py", line 123, in perform_command
File "compose/cli/command.py", line 69, in project_from_options
File "compose/cli/command.py", line 125, in get_project
File "compose/cli/command.py", line 184, in get_project_name
File "posixpath.py", line 383, in abspath
FileNotFoundError: [Errno 2] No such file or directory
[885] Failed to execute script docker-compose
Traceback (most recent call last):
File "bin/docker-compose", line 3, in <module>
File "compose/cli/main.py", line 67, in main
File "compose/cli/main.py", line 123, in perform_command
File "compose/cli/command.py", line 69, in project_from_options
File "compose/cli/command.py", line 125, in get_project
File "compose/cli/command.py", line 184, in get_project_name
File "posixpath.py", line 383, in abspath
FileNotFoundError: [Errno 2] No such file or directory
[887] Failed to execute script docker-compose
What have I done wrong?
Please or to participate in this conversation.