Skip to content

Commit

Permalink
Removes storage_driver option from /etc/docker/daemon.json
Browse files Browse the repository at this point in the history
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
  • Loading branch information
x7upLime committed Apr 4, 2023
1 parent 5d71a4e commit 828bc08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/minikube/cruntime/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 828bc08

Please sign in to comment.