You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2020/07/06 14:56:40 UTC

[camel-k] branch master updated: Document CRC's insecure Docker registry #1410

This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/master by this push:
     new fc95c5f  Document CRC's insecure Docker registry #1410
fc95c5f is described below

commit fc95c5feabcfbbce006c9b2fb8515fe8b16d2686
Author: John Poth <po...@gmail.com>
AuthorDate: Wed Jul 1 18:56:33 2020 +0200

    Document CRC's insecure Docker registry #1410
---
 docs/modules/ROOT/pages/developers.adoc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docs/modules/ROOT/pages/developers.adoc b/docs/modules/ROOT/pages/developers.adoc
index 23a4333..d2b11f0 100644
--- a/docs/modules/ROOT/pages/developers.adoc
+++ b/docs/modules/ROOT/pages/developers.adoc
@@ -144,6 +144,11 @@ If you want to install everything you have in your source code and see it runnin
 === For Red Hat CodeReady Containers (CRC)
 
 * You need to have https://docs.docker.com/get-docker/[Docker] installed and running (or connected to a Docker daemon)
+* You need to setup Docker daemon to https://docs.docker.com/registry/insecure/[trust] CRC's insecure Docker registry which is exposed by default through the route `default-route-openshift-image-registry.apps-crc.testing`. One way of doing that is to instruct the Docker daemon to trust the certificate:
+** `oc extract secret/router-ca --keys=tls.crt -n openshift-ingress-operator`: to extract the certificate
+** `sudo cp tls.crt /etc/docker/certs.d/default-route-openshift-image-registry.apps-crc.testing/ca.crt`: to copy the certificate for Docker daemon to trust
+** `docker login -u kubeadmin -p $(oc whoami -t) default-route-openshift-image-registry.apps-crc.testing`: to test that the certificate is trusted
+
 * Run `make install-crc`: to build the project and install it in the current namespace on CRC
 * You can specify a different namespace with `make install-crc project=myawesomeproject`
 * To uninstall Camel K, run `kamel uninstall --all --olm=false`