Skip to content

Commit

Permalink
Add basic registries.conf for docker.io registry
Browse files Browse the repository at this point in the history
  • Loading branch information
afbjorklund committed Apr 21, 2018
1 parent fc3ba27 commit d924c7b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/iso/minikube-iso/package/crio-bin/crio-bin.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions deploy/iso/minikube-iso/package/crio-bin/registries.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[registries.search]
registries = ['docker.io']

[registries.insecure]
registries = []

0 comments on commit d924c7b

Please sign in to comment.