Skip to content

Commit 39cd4a0

Browse files
Merge pull request openshift#19251 from pravisankar/fix-dind-crio-config
dind: Fix crio configuration
2 parents 140f443 + d048bfa commit 39cd4a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

images/dind/node/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,5 @@ RUN systemctl enable crio-node.service
9191

9292
# Default crio storage to vfs. overlay on overlayfs is not supported in crio.
9393
RUN echo "CRIO_STORAGE_OPTIONS=--storage-driver vfs" > /etc/sysconfig/crio-storage
94+
RUN sed -i 's/^plugin_dir .*/plugin_dir = "\/opt\/cni\/bin\/"/g' /etc/crio/crio.conf
95+
RUN sed -i 's/^registries .*/registries = [\n\t"docker.io",\n\t"registry.fedoraproject.org",\n\t"registry.access.redhat.com",/g' /etc/crio/crio.conf

0 commit comments

Comments
 (0)