From d9feb0d95c3c463a6f15c76c6e77f40eb8c4ae70 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Fri, 22 May 2020 15:09:04 -0400 Subject: [PATCH] [fix] Don't repeat protocol in daemon.json --- setup/so-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/so-functions b/setup/so-functions index b29d4adef..4e01c935c 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -616,10 +616,10 @@ docker_registry() { echo "Setting up Docker Registry" >> "$setup_log" 2>&1 mkdir -p /etc/docker >> "$setup_log" 2>&1 # Make the host use the master docker registry - if [ -n "$TURBO" ]; then local proxy="$TURBO"; else local proxy="$MSRV"; fi + if [ -n "$TURBO" ]; then local proxy="$TURBO"; else local proxy="https://$MSRV"; fi printf '%s\n'\ "{"\ - " \"registry-mirrors\": [ \"https://$proxy:5000\" ]"\ + " \"registry-mirrors\": [ \"$proxy:5000\" ]"\ "}" > /etc/docker/daemon.json echo "Docker Registry Setup - Complete" >> "$setup_log" 2>&1