Remove host-only docker daemon config file check
@@ -75,16 +75,12 @@ function configure-insecure-registry-and-reload() {
}
function insecure-registry-config-cmd() {
- if test -f "${docker_daemon_config}"; then
- sed -i "1a \ \"insecure-registries\": [\"${CONTAINER_REGISTRY_HOST}\"]" ${docker_daemon_config}
- else
echo "cat <<EOF > ${docker_daemon_config}
{
\"insecure-registries\": [\"${CONTAINER_REGISTRY_HOST}\"]
}
EOF
"
- fi
}
function reload-docker-daemon-cmd() {
