Hi Sébastien,

+CC Giacomo, who authored the oci-service-type

Sébastien Gendre <s...@k-7.ch> writes:

> Hello everyone.
>
> I was reading the devel manual for the "oci-service-type" system
> service:
> https://guix.gnu.org/manual/devel/en/html_node/Miscellaneous-Services.html#OCI-backed-services
>
> And I have a question about it's behavior.
>
> If I define containers with this service, do a first and then a second
> "guix system reconfigure": Does the container are re-created the second
> time I reconfigure the system ?
>
> If yes, does this also re-download the image ? Or rebuild them if they
> are defined with as a "oci-image" data type ?
>
> I try to understand how to manage the update of the OCI containers if
> deployed on a Guix System via this system service.

I could be wrong, but my expectation would be that the oci-service-type
simply starts docker or podman, and that these applications follows
their own rules w.r.t. to creating/caching the container images.

Knowing a bit Docker, I wouldn't expect the images to be redownloaded
and recreated from scratch every time you reconfigure.

I'll let Paul confirm if my expectations are correct.

-- 
Thanks,
Maxim

Reply via email to