Search code examples
spring-cloud-streamspring-cloud-dataflow

Is it possible to register google registry docker containers with Kubernetes Spring Cloud Dataflow?


Our team is using Kubernetes Spring Cloud Dataflow version 2.01, and it appears to require an explicit docker:// URL for docker containers: https://docs.spring.io/spring-cloud-dataflow/docs/2.0.0.BUILD-SNAPSHOT/reference/htmlsingle/#getting-started-kubernetes

We have been using google registry to register docker containers, Spring Cloud Dataflow throws an exception when trying to register docker containers from the google registry: java.net.URISyntaxException: Illegal character in path at index 58: gcr.io/....

It's a legit docker container, just not hosted by docker. Is this a bug or is google registry unsupported?


Solution

  • I believe what you're missing is the configuration of private Docker registry in SCDF - see docs.

    Once when you have that setup in SCDF/Skipper, you would be able to resolve images from any registry, as far as it is an implementation of Docker specs underneath. Google Container Registry should work.