Cannot chain builds using minikube default registry #886
Labels
area/registry
For all bugs having to do with pushing/pulling into registries
kind/bug
Something isn't working
priority/p3
agreed that this would be good to have, but no one is available at the moment.
Actual behavior
We use Kaniko to build images in Camel K and sometimes we chain images, i.e. we build
img1
from our base image (fabric8/s2i-java:3.0-java8
) and nextimg2
usingimg1
as base. This setting works on most registries, but not on Minikube, where the build of the second image fails.This is what happens with cache enabled (when building
img2
):Before getting into the error, the logs are stuck for several minutes into the downloading stage.
Container configuration is like the following:
Same happens with cache=true when we warm up the cache in advance. The Dockerfile starts from
10.98.49.20/default/camel-k-kit-bnekabe6in4lp73omlg0:1230080
.Expected behavior
This error happens on Minikube only. It seems kaniko is not able to pull images from that registry.
No problems e.g. with docker hub.
To Reproduce
Steps to reproduce the behavior:
Additional Information
v0.14.0
(4afd732d4dfa
)Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: