From e1f7840780ed21a05064d0416a3810614dda55e8 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 28 Oct 2020 11:43:03 +0100 Subject: [PATCH] Update doc about garbage collection --- docs/modules/ROOT/pages/index.adoc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc index 5f900e5..37eb06f 100644 --- a/docs/modules/ROOT/pages/index.adoc +++ b/docs/modules/ROOT/pages/index.adoc @@ -244,13 +244,12 @@ Nope, it’s just Nix and Docker Compose under the hood. === What about garbage collection? Arion removes the need for garbage collecting docker images, delegating -this task to Nix. +this task to Nix when using `service.useHostStore`. -Arion creates a garbage collection root and cleans it up after -completing the command. This means that `arion up` without `-d` is safe -with respect to garbage collection. A deployment that is more serious -than local development must leave a GC root on the deployment host. This -use case is not supported as of now. +Arion creates a garbage collection root that it cleans up after completing +the command. This means that `arion up -d` should not be used with `useHostStore` +in production. Instead, disable `useHostStore`, which will use `dockerTools` to +generate images that can be used in production. === Why is my container not running latest code?