-
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
Docker Compose integration does not work with 2.23.0 due to 'Cannot invoke "org.springframework.boot.docker.compose.core.DockerCliInspectResponse.hostConfig()" because "inspectResponse" is null' #37982
Comments
GitHub just updated their action runners by also updating to Docker Compose 2.23.0. See actions/runner-images@388d55d and actions/runner-images@ad34bed All docker compose related spring-boot tasks are currently broken – at least with Ubuntu 20.04 and 22.04. Unsure who needs to fix that. |
My operating system is MacOS m1 and I also have the same problem. Docker compose up is working and when I start the java application with spring boot it breaks.
|
I'm trying to downgrade docker compose to 2.20.3 on mac m1 but I can't, I've tried several ways like: brew install [email protected] reinstall docker, but it installs in the latest version which is 2.23.0 |
@michelbernardods this issue should be fixed in 3.1.6 that will be released later this month. Please try 3.1.6-SNAPSHOT, available from https://repo.spring.io/snapshot. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as off-topic.
This comment was marked as off-topic.
I just encountered this error after upgrading Docker Desktop on Windows to v4.25.1. Reverted to v4.24.2 and its working. |
@SamBenningECG Did you try the SNAPSHOT of Spring Boot 3.1.6? |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I encountered this error after upgrading to a newer version of Docker Desktop on macos. An older version like v4.22.0 is working fine for me. |
@harasees-singh What version of Spring Boot are you using? Can you try |
@scottfrederick I am using Spring Boot version |
…cker integration (see github.com/spring-projects/spring-boot/issues/37982)
- Docker Desktop을 최신 버전으로 업데이트한 이후 다음과 같은 이슈가 발생하였고, 해당 이슈를 fixed한 버전으로 Spring Boot 버전 업그레이드함으로써 해결 - Issue : Docker Compose integration does not work with 2.23.0 due to 'Cannot invoke "org.springframework.boot.docker.compose.core.DockerCliInspectResponse.hostConfig()" because "inspectResponse" is nul - Referece Link : spring-projects/spring-boot#37982
I had the same problem but resolved with this config : spring-boot version 3.1.1 & docker-compose version 3.1.6 |
I'm getting a NPE because the key in
inspected
map and the ID ofDockerCliComposePsResponse
are different, so the value of that Map could not be found.Screenshots
console when run spring boot
Break point
docker compose version
Without
--no-trunc
flagWith
--no-trunc
flagThe current docker compose cli version has been updated, and it is expected to be solved by attaching
--no-trunc
flag.The text was updated successfully, but these errors were encountered: