diff --git a/deploy/iso/minikube-iso/package/automount/minikube-automount b/deploy/iso/minikube-iso/package/automount/minikube-automount index 041689abb517..9e0fb740e3a2 100755 --- a/deploy/iso/minikube-iso/package/automount/minikube-automount +++ b/deploy/iso/minikube-iso/package/automount/minikube-automount @@ -124,6 +124,10 @@ if [ -n "$BOOT2DOCKER_DATA" ]; then mkdir -p /var/lib/docker mount --bind /mnt/$PARTNAME/var/lib/docker /var/lib/docker + mkdir -p /mnt/$PARTNAME/var/lib/containers + mkdir -p /var/lib/containers + mount --bind /mnt/$PARTNAME/var/lib/containers /var/lib/containers + mkdir -p /mnt/$PARTNAME/var/log mkdir /var/log mount --bind /mnt/$PARTNAME/var/log /var/log 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 9fd5bef86f89..3ba7196f5f3d 100644 --- a/deploy/iso/minikube-iso/package/crio-bin/crio-bin.mk +++ b/deploy/iso/minikube-iso/package/crio-bin/crio-bin.mk @@ -56,7 +56,7 @@ define CRIO_BIN_INSTALL_TARGET_CMDS $(TARGET_DIR)/etc/containers/policy.json mkdir -p $(TARGET_DIR)/etc/sysconfig - echo 'CRIO_OPTIONS="--storage-driver=overlay2 --log-level=debug"' > $(TARGET_DIR)/etc/sysconfig/crio + echo 'CRIO_OPTIONS="--log-level=debug"' > $(TARGET_DIR)/etc/sysconfig/crio endef define CRIO_BIN_INSTALL_INIT_SYSTEMD diff --git a/deploy/iso/minikube-iso/package/crio-bin/crio.conf b/deploy/iso/minikube-iso/package/crio-bin/crio.conf index 57bb08822438..2aef1f8ff829 100644 --- a/deploy/iso/minikube-iso/package/crio-bin/crio.conf +++ b/deploy/iso/minikube-iso/package/crio-bin/crio.conf @@ -12,7 +12,7 @@ runroot = "/var/run/containers/storage" # storage_driver select which storage driver is used to manage storage # of images and containers. -storage_driver = "" +storage_driver = "overlay" # storage_option is used to pass an option to the storage driver. storage_option = [ @@ -146,6 +146,7 @@ insecure_registries = [ # registries is used to specify a comma separated list of registries to be used # when pulling an unqualified image (e.g. fedora:rawhide). registries = [ + "docker.io" ] # The "crio.network" table contains settings pertaining to the diff --git a/deploy/iso/minikube-iso/package/crio-bin/crio.service b/deploy/iso/minikube-iso/package/crio-bin/crio.service index 15419de42e5c..e1b72ac889af 100644 --- a/deploy/iso/minikube-iso/package/crio-bin/crio.service +++ b/deploy/iso/minikube-iso/package/crio-bin/crio.service @@ -10,11 +10,9 @@ EnvironmentFile=-/etc/sysconfig/crio EnvironmentFile=-/etc/sysconfig/crio.minikube EnvironmentFile=/var/run/minikube/env Environment=GOTRACEBACK=crash -ExecStartPre=/bin/mkdir -p ${PERSISTENT_DIR}/var/lib/containers ExecStart=/usr/bin/crio \ $CRIO_OPTIONS \ - $CRIO_MINIKUBE_OPTIONS \ - --root ${PERSISTENT_DIR}/var/lib/containers + $CRIO_MINIKUBE_OPTIONS ExecReload=/bin/kill -s HUP $MAINPID TasksMax=8192 LimitNOFILE=1048576