murano-apps/Docker/Kubernetes/KubernetesCluster/package/Resources/scripts/setupDockerMirror.sh

6 lines
133 B
Bash

#!/bin/bash
source /etc/default/docker
DOCKER_OPTS+=" --registry-mirror=$1"
echo "DOCKER_OPTS=${DOCKER_OPTS}" > /etc/default/docker