You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wilkinsona
changed the title
spring-boot:build-image doesn't refer to docker env var
Use DOCKER_ env vars to locate the Docker daemon when building OCI images
Mar 17, 2020
wilkinsona
changed the title
Use DOCKER_ env vars to locate the Docker daemon when building OCI images
Use DOCKER_ env vars to locate the Docker daemon when building OCI images
Mar 17, 2020
This commit adds documentation for the configuration required to
use a remote Docker daemon with the `build-image` Maven goal or the
`bootBuildImage` Gradle task.
See gh-20538
I'm running Docker from
minikube
(and also tried a remote docker machine).The docker daemon endpoint and cert are configured via env vars:
When I run
./mvnw spring-boot:build-image
, the container build failed:The plugin assumes the docker daemon is running on
localhost:2376
, when it the env varDOCKER_HOST
is pointing else wheretcp://192.168.64.2:2376
The text was updated successfully, but these errors were encountered: