-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sail is not compatible with newer docker-compose version #639
Comments
D:\VS_Code_Workspaces\PHP\PrimaryHub>bash ./vendor/laravel/sail/bin/sail build D:\VS_Code_Workspaces\PHP\PrimaryHub>bash ./vendor/laravel/sail/bin/sail up -d D:\VS_Code_Workspaces\PHP\PrimaryHub>bash ./vendor/laravel/sail/bin/sail ps D:\VS_Code_Workspaces\PHP\PrimaryHub>bash ./vendor/laravel/sail/bin/sail down D:\VS_Code_Workspaces\PHP\PrimaryHub> |
Try |
Thank you for reporting this issue! As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub. If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team. Thank you! |
Regarding your 127.0.0.1:80 and localhost:80 Problem: You probably have an apache server running somewhere which listens on localhost:80. (Probably in WSL) Though I can't help debug that docker compose problem, because it is working as expected on my machine. |
You may try disable apache from autostart on WSL Ubuntu. Here is the reference. https://askubuntu.com/questions/170640/how-do-i-stop-apache2-from-automatically-starting-on-boot |
Thanks for the suggestions. |
Closing this issue because it's inactive, already solved, old or not relevant anymore. Feel to open up a new issue if you're still experiencing this. |
Sail Version
1.26.1
Laravel Version
10.32.1
PHP Version
8.2.12
Operating System
Windows (WSL)
OS Version
22H2
Description
After running sail up -d command the containers starts but but with a hash string name instead of the project name than if you call the "sail ps" command no container is running and you cannot stop it with the "down" command. In docker desktop you see it's running all images/services are running no error.
If you call the same command directly through docker-compose everything is okay container start with project name "ps" shows them and "down" shut it down
Docker Compose version v2.23.0-desktop.1
I think Sail is not compatible anymore with the latest docker version.
Steps To Reproduce
After running sail up -d command the containers starts but but with a hash string name instead of the project name than if you call the "sail ps" command no container is running and you cannot stop it with the "down" command. In docker desktop you see it's running all images/services are running no error.
If you call the same command directly through docker-compose everything is okay container start with project name "ps" shows them and "down" shut it down
Docker Compose version v2.23.0-desktop.1
I think Sail is not compatible anymore with the latest docker version.
The text was updated successfully, but these errors were encountered: