From d924c7b61a5306ea09692898c927ea5fd239f6e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Sat, 21 Apr 2018 21:13:39 +0200 Subject: [PATCH] Add basic registries.conf for docker.io registry --- deploy/iso/minikube-iso/package/crio-bin/crio-bin.mk | 3 +++ deploy/iso/minikube-iso/package/crio-bin/registries.conf | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 deploy/iso/minikube-iso/package/crio-bin/registries.conf diff --git a/deploy/iso/minikube-iso/package/crio-bin/crio-bin.mk b/deploy/iso/minikube-iso/package/crio-bin/crio-bin.mk index c8aaefcfd433..c2568e41bb76 100644 --- a/deploy/iso/minikube-iso/package/crio-bin/crio-bin.mk +++ b/deploy/iso/minikube-iso/package/crio-bin/crio-bin.mk @@ -55,6 +55,9 @@ define CRIO_BIN_INSTALL_TARGET_CMDS $(INSTALL) -Dm644 \ $(BR2_EXTERNAL_MINIKUBE_PATH)/package/crio-bin/policy.json \ $(TARGET_DIR)/etc/containers/policy.json + $(INSTALL) -Dm644 \ + $(BR2_EXTERNAL_MINIKUBE_PATH)/package/crio-bin/registries.conf \ + $(TARGET_DIR)/etc/containers/registries.conf mkdir -p $(TARGET_DIR)/etc/sysconfig echo 'CRIO_OPTIONS="--storage-driver=overlay2 --log-level=debug"' > $(TARGET_DIR)/etc/sysconfig/crio diff --git a/deploy/iso/minikube-iso/package/crio-bin/registries.conf b/deploy/iso/minikube-iso/package/crio-bin/registries.conf new file mode 100644 index 000000000000..409f31d8969f --- /dev/null +++ b/deploy/iso/minikube-iso/package/crio-bin/registries.conf @@ -0,0 +1,5 @@ +[registries.search] +registries = ['docker.io'] + +[registries.insecure] +registries = []