Update doc about garbage collection

This commit is contained in:
Robert Hensing 2020-10-28 11:43:03 +01:00
parent 3fb8782296
commit e1f7840780

View file

@ -244,13 +244,12 @@ Nope, its just Nix and Docker Compose under the hood.
=== What about garbage collection? === What about garbage collection?
Arion removes the need for garbage collecting docker images, delegating 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 Arion creates a garbage collection root that it cleans up after completing
completing the command. This means that `arion up` without `-d` is safe the command. This means that `arion up -d` should not be used with `useHostStore`
with respect to garbage collection. A deployment that is more serious in production. Instead, disable `useHostStore`, which will use `dockerTools` to
than local development must leave a GC root on the deployment host. This generate images that can be used in production.
use case is not supported as of now.
=== Why is my container not running latest code? === Why is my container not running latest code?