File tree 4 files changed +8
-5
lines changed
deploy/iso/minikube-iso/package
4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,10 @@ if [ -n "$BOOT2DOCKER_DATA" ]; then
124
124
mkdir -p /var/lib/docker
125
125
mount --bind /mnt/$PARTNAME /var/lib/docker /var/lib/docker
126
126
127
+ mkdir -p /mnt/$PARTNAME /var/lib/containers
128
+ mkdir -p /var/lib/containers
129
+ mount --bind /mnt/$PARTNAME /var/lib/containers /var/lib/containers
130
+
127
131
mkdir -p /mnt/$PARTNAME /var/log
128
132
mkdir /var/log
129
133
mount --bind /mnt/$PARTNAME /var/log /var/log
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ define CRIO_BIN_INSTALL_TARGET_CMDS
56
56
$(TARGET_DIR ) /etc/containers/policy.json
57
57
58
58
mkdir -p $(TARGET_DIR ) /etc/sysconfig
59
- echo 'CRIO_OPTIONS="--storage-driver=overlay2 -- log-level=debug"' > $(TARGET_DIR ) /etc/sysconfig/crio
59
+ echo 'CRIO_OPTIONS="--log-level=debug"' > $(TARGET_DIR ) /etc/sysconfig/crio
60
60
endef
61
61
62
62
define CRIO_BIN_INSTALL_INIT_SYSTEMD
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ runroot = "/var/run/containers/storage"
12
12
13
13
# storage_driver select which storage driver is used to manage storage
14
14
# of images and containers.
15
- storage_driver = ""
15
+ storage_driver = "overlay "
16
16
17
17
# storage_option is used to pass an option to the storage driver.
18
18
storage_option = [
@@ -146,6 +146,7 @@ insecure_registries = [
146
146
# registries is used to specify a comma separated list of registries to be used
147
147
# when pulling an unqualified image (e.g. fedora:rawhide).
148
148
registries = [
149
+ "docker.io"
149
150
]
150
151
151
152
# The "crio.network" table contains settings pertaining to the
Original file line number Diff line number Diff line change @@ -10,11 +10,9 @@ EnvironmentFile=-/etc/sysconfig/crio
10
10
EnvironmentFile =-/etc/sysconfig/crio.minikube
11
11
EnvironmentFile =/var/run/minikube/env
12
12
Environment =GOTRACEBACK =crash
13
- ExecStartPre =/bin/mkdir -p ${PERSISTENT_DIR}/var/lib/containers
14
13
ExecStart =/usr/bin/crio \
15
14
$CRIO_OPTIONS \
16
- $CRIO_MINIKUBE_OPTIONS \
17
- --root ${PERSISTENT_DIR}/var/lib/containers
15
+ $CRIO_MINIKUBE_OPTIONS
18
16
ExecReload =/bin/kill -s HUP $MAINPID
19
17
TasksMax =8192
20
18
LimitNOFILE =1048576
You can’t perform that action at this time.
0 commit comments