-
Notifications
You must be signed in to change notification settings - Fork 475
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
Possible issue with latest docker compose 2.24 #654
Comments
Thanks. Gonna await what the feedback of docker is. |
Also got same problem with new docker compose version. Workaround is using
[1] https://docs.docker.com/compose/compose-file/compose-file-v3/ |
is there a reason to name the service |
Probably use as domain when reaching; |
access of i skimmed the Laravel Sail documentation, and the guide is to access it via i did a quick search and see that the service name so another solution to fix this issue is by:
|
@remarkusable it might break some stuff if you use APP_SERVICE, see this pr: #650 but this was closed |
yes, i see that we have to manually add the newly added service to the
|
It seems Docker merged the fix so I suspect they'll be releasing the fix soon. Thanks for your help all. |
There are cases where the long syntax workaround cannot be applied. In case a directory does not exist in the host system, by using the short syntax
the docker engine was creating the directory and mounting it to the container. Now if you're using docker-compose syntax version 3.9. and docker-compose binary 2.24 one must use the long syntax and by using the long syntax one must create a bunch of empty directories on the host system |
Hi! Any updates on this? |
Docker Compose version 2.24.1 was released which fixed this issue |
Sail Version
1.27.0
Laravel Version
10.40.0
PHP Version
8.2
Operating System
Linux
OS Version
Description
Using the latest docker compose plugin v2.24, using a dot in the service name will break the
sail up -d
command.Related issue: docker/compose#11336
The output shows when someone tries to
sail up -d
:Possible solutions could be using a default app name which does not contain a dot, or wait for a hotfix, but I think the former solution would be better.
Steps To Reproduce
Update to latest docker compose (2.24)
Call
curl -s https://laravel.build/example-app | bash
to create a new Sail appThe text was updated successfully, but these errors were encountered: