From ff55dbf7e1f0b5251f0f10adac384b7f4c4430c3 Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Wed, 6 Dec 2023 08:23:34 +0000 Subject: [PATCH] Latest --- home/dot_config/docker/config.json.tmpl | 1 + home/dot_config/docker/daemon.json.tmpl | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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