From 1b6baf41e3301f8ea631111742bfece76f03f3ab Mon Sep 17 00:00:00 2001 From: Daniel Gyulai Date: Tue, 3 Nov 2020 21:48:00 +0100 Subject: [PATCH] Docker.local cert to dind --- Jenkinsfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index b3d049e..6dff7d5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,6 +5,9 @@ spec: volumes: - name: docker-socket emptyDir: {} + - name: docker-local-certs + configMap: + name: docker-cert containers: - name: docker image: docker:19.03.1 @@ -22,6 +25,8 @@ spec: volumeMounts: - name: docker-socket mountPath: /var/run + - name: docker-local-certs + mountPath: /etc/docker/certs.d/docker.local ''') { node(POD_LABEL) {