Closed hebertcisco closed 1 year ago
Hi @hebertcisco,
Docker no longer supports Compose V1 so we've dropped support for it as well.
With Compose V2, the version field is no longer used. You should be able to migrate to V2 which will give you the docker compose
command (instead of docker-compose
) which Sail will use automatically.
Sail Version
1.25
Laravel Version
10.10
PHP Version
8.2.11
Operating System
Linux
OS Version
Pop!_OS 22.04 LTS
Description
docker-compose version 1.24.0, build 0aa59064
Docker version 24.0.5, build 24.0.5-0ubuntu1~22.04.1
This occurs because the
docker-compose.yml
file by default is coming without the docker compose version.And if you try to run
vendor/bin/sail up
, the same error appearsI tried adding the version manually and it worked.
Did this error occur to you? Is it something that needs to be adjusted?
Steps To Reproduce
When running the
php artisan sail:install
command, after choosing the services to be installed, the following error is returned:At this stage it is already possible to notice the error, and if you try to run the
vendor/bin/sail up
command the error will appear again.