From 828bc08ed380f3d13c09862595f01aff5fe2a960 Mon Sep 17 00:00:00 2001 From: x7upLime Date: Tue, 4 Apr 2023 19:45:44 +0200 Subject: [PATCH] Removes storage_driver option from /etc/docker/daemon.json This setting is applied by minikube in both /etc/docker/daemon.json and as an override to the service file in /etc/systemd/system/docker.service.d/10-machine.conf, during provision phase. If two such directives are set, docker.service will not start --- pkg/minikube/cruntime/docker.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/minikube/cruntime/docker.go b/pkg/minikube/cruntime/docker.go index c6b2a65f2c9c..702953a0655c 100644 --- a/pkg/minikube/cruntime/docker.go +++ b/pkg/minikube/cruntime/docker.go @@ -541,8 +541,7 @@ func (r *Docker) setCGroup(driver string) error { "log-driver": "json-file", "log-opts": { "max-size": "100m" -}, -"storage-driver": "overlay2" +} } `, driver) ma := assets.NewMemoryAsset([]byte(daemonConfig), "/etc/docker", "daemon.json", "0644")