Skip to content

NPE in bootBuildImage when setting DOCKER_CONTEXT=default #42958

@mhalbritter

Description

@mhalbritter
> export DOCKER_CONTEXT=default

> g bootBuildImage
> Task :bootBuildImage FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':bootBuildImage'.
> Cannot invoke "String.startsWith(String)" because the return value of "org.springframework.boot.buildpack.platform.docker.configuration.DockerHost.getAddress()" is null

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions