On Sun, Dec 21 2025, Giacomo Leidi wrote:

> Hi Aleksej,
> If the image provides a latest tag containers are updated everytime you 
> restart the Shepherd service.
>
> The oci-service-type does not provide any recurring job  but you can setup a 
> Shepherd timer or mcron job for the user running the containers 
> (oci-container by default) to periodically pull the latest tag. In case you 
> go with the latter it's probably worth to setup another job to garbage 
> collect  unused images.
>
> Hope this helps,
>
> Cheers
> giacomo
>
> Il 19 dicembre 2025 21:39:50 CET, Aleksej via <[email protected]> ha scritto:
>>Hi everyone!
>>
>>I want to ask if there is a way to update my oci containers automatically, 
>>maybe on system activation? Or I'm better just running a cron job?

AFAIU this is basically how container image upgrading in Guix is for
now, barring OCI images packaged by Guile/Guix itself. It seems
non-declarative and non-ideal for Guix though, so I wonder if there
could theoretically (i.e., sometime in the future if someone cares
enough and has the time and expertise) be a more Guix-y solution.
Something that can update non-Guix images while retaining Guix's goal of
reproducibility.

-- 
Kind regards,
Kristoffer

Reply via email to