mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
[fix] Don't repeat protocol in daemon.json
This commit is contained in:
@@ -616,10 +616,10 @@ docker_registry() {
|
|||||||
echo "Setting up Docker Registry" >> "$setup_log" 2>&1
|
echo "Setting up Docker Registry" >> "$setup_log" 2>&1
|
||||||
mkdir -p /etc/docker >> "$setup_log" 2>&1
|
mkdir -p /etc/docker >> "$setup_log" 2>&1
|
||||||
# Make the host use the master docker registry
|
# 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'\
|
printf '%s\n'\
|
||||||
"{"\
|
"{"\
|
||||||
" \"registry-mirrors\": [ \"https://$proxy:5000\" ]"\
|
" \"registry-mirrors\": [ \"$proxy:5000\" ]"\
|
||||||
"}" > /etc/docker/daemon.json
|
"}" > /etc/docker/daemon.json
|
||||||
echo "Docker Registry Setup - Complete" >> "$setup_log" 2>&1
|
echo "Docker Registry Setup - Complete" >> "$setup_log" 2>&1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user