diff --git a/home/dot_config/docker/config.json.tmpl b/home/dot_config/docker/config.json.tmpl index 2ed2b386..1a2db793 100644 --- a/home/dot_config/docker/config.json.tmpl +++ b/home/dot_config/docker/config.json.tmpl @@ -3,4 +3,5 @@ "https://index.docker.io/v1/": {} }, "credsStore": "{{ if (eq .host.distro.id "darwin") }}osxkeychain{{ else }}{{ if (eq .host.distro.id "windows") }}wincred{{ else }}secretservice{{ end }}{{ end }}" + "currentContext": "desktop-linux" } \ No newline at end of file diff --git a/home/dot_config/docker/daemon.json.tmpl b/home/dot_config/docker/daemon.json.tmpl index 901bf9bd..81def4ca 100644 --- a/home/dot_config/docker/daemon.json.tmpl +++ b/home/dot_config/docker/daemon.json.tmpl @@ -1,9 +1,16 @@ -{{- if (eq .host.distro.family "linux") -}} { + "builder": { + "gc": { + "defaultKeepStorage": "20GB" + "enabled": true + } + }, + "experimental": true, + {{ if (eq .host.distro.family "linux") -}} "runtimes": { "runsc": { "path": "/usr/local/bin/runsc" } } + {{ end -}} } -{{- end -}} \ No newline at end of file