-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
App startup fails with confusing message when a Docker Compose file is not found #35383
Comments
Also SB 3.1 is using the obsolete "docker-compose", not the new "docker compose". |
No, it's not. It will try |
你们是怎么解决的,我也遇到这个问题了 |
For me, its throwing a |
Which versions of Docker and Docker Compose are you using, @digiron? |
docker -v docker-compose -v |
did you solve this problem? |
@yurets1 You should upgrade to Docker Compose v2. v1 is no longer receiving updates. |
unfortunately same error( |
Then please open a new issue with details of your |
|
help me pls |
@jordikop Unfortunately, you haven't provided enough information for anyone to be able to help. When you run your Spring Boot application with Docker Compose support enabled, there must be a compose file in the application's working directory. If you think that's the case but you're still getting an error, you'll need to provide a sample and the steps you're using to run it so we can see what's going on. |
If an application includes a dependency on
spring-boot-docker-compose
but a compose YAML file is not found, app startup fails with a message that does not make the root cause very clear. The error message should make it more clear that a file was not found in the expected location.The text was updated successfully, but these errors were encountered: