From f51ac24c729a90e16d0f6d530dea38d2568140db Mon Sep 17 00:00:00 2001 From: continuist Date: Tue, 1 Jul 2025 00:40:09 -0400 Subject: [PATCH] Simplify steps to install Harbor CA cert on host docker daemon --- CI_CD_PIPELINE_SETUP_GUIDE.md | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/CI_CD_PIPELINE_SETUP_GUIDE.md b/CI_CD_PIPELINE_SETUP_GUIDE.md index 46b96f1..f10a2c3 100644 --- a/CI_CD_PIPELINE_SETUP_GUIDE.md +++ b/CI_CD_PIPELINE_SETUP_GUIDE.md @@ -547,21 +547,10 @@ sudo chmod 644 /etc/ssl/registry/openssl.conf sudo cp /etc/ssl/registry/registry.crt /usr/local/share/ca-certificates/registry.crt sudo update-ca-certificates -# Configure Docker to trust the Harbor registry -sudo mkdir -p /etc/docker -sudo tee /etc/docker/daemon.json << EOF -{ - "insecure-registries": ["YOUR_CI_CD_IP"], - "registry-mirrors": [] -} -EOF - -# Restart Docker to apply the new configuration +# Restart Docker to ensure it picks up the new CA certificates sudo systemctl restart docker ``` -**Important**: Replace `YOUR_CI_CD_IP` with your actual CI/CD Linode IP address. - #### 5.4 Install Harbor ```bash