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
gradle bootBuildImage fails when DOCKER_HOST prefixed with unix:// #29566
Comments
@joeyslalom Can you provide the Spring Boot version that you're using and also any stacktrace when running with |
Sure, it's Spring Boot 2.6.3, a fresh Kotlin + Gradle project from start.spring.io. I can easily repro with
|
@joeyslalom I can't reproduce the problem you're having. These commands work for me:
Can you provide some information on your environment, such as the operating system, docker daemon (Docker Engine or other) with version, etc? Also, can you verify that |
I created another project from the initializer and couldn't reproduce again 🤦 Terribly sorry, I think I got my projects confused and my error above was from an older Spring Boot initializer project, so I just reproduced #22300. My apologies for the noise |
I created a project today with start.spring.io, using Gradle and Spring Boot 2.6.3.
My
env
shows:When I run
./gradlew bootBuildImage
I get:I saw the previous issue with Maven #22300 so I thought the same thing might be happening with Gradle. So, I ran
unset DOCKER_HOST
and./gradlew bootBuildImage
again and it worked!The text was updated successfully, but these errors were encountered: