1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 05:30:38 +02:00
Files
guix/gnu/services
Giacomo Leidi c07731a777 gnu: docker: Allow passing tarballs for images in oci-container-configuration.
This commit allows for loading an OCI image tarball before running an
OCI backed Shepherd service. It does so by adding a one shot Shepherd
service to the dependencies of the OCI backed service that at boot runs
docker load on the tarball.

* gnu/services/docker.scm (oci-image): New record;
(lower-oci-image): new variable, lower it;
(string-or-oci-image?): sanitize it;
(oci-container-configuration)[image]: allow also for oci-image records;
(oci-container-shepherd-service): use it;
(%oci-image-loader): new variable.

Change-Id: Ie504f479ea0d47f74b0ec5df9085673ffd3f639d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-25 15:34:53 +02:00
..
2023-05-23 20:26:19 -04:00
2024-04-29 08:54:36 +08:00
2023-08-20 22:48:47 +02:00
2024-04-17 12:13:03 +02:00
2023-08-15 23:30:44 +02:00
2023-12-14 23:12:24 +01:00
2023-03-07 11:39:50 +01:00
2024-02-20 10:57:16 +01:00