me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
guix/doc
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
..
images doc: Use "dejavu sans" instead of "Helvetica" or "sans" in dot images. 2024-04-14 10:29:07 +02:00
build.scm nls: Update translations. 2024-04-01 14:09:20 +02:00
contributing.texi doc: Make changes to the handling of branches. 2024-05-22 14:31:01 +01:00
environment-gdb.scm
fdl-1.3.texi
guix-cookbook.texi doc: cookbook: Fix overlong lines. 2024-05-19 19:09:40 +02:00
guix.texi gnu: docker: Allow passing tarballs for images in oci-container-configuration. 2024-05-25 15:34:53 +02:00
he-config-bare-bones.scm
htmlxref.cnf nls: Update translations. 2024-04-01 14:09:20 +02:00
local.mk Revert "maint: Generate 'doc/version.texi' reproducibly." 2024-04-19 16:45:41 +02:00
package-hello.json import: Do not return package name with json importer. 2024-02-23 19:02:55 +01:00
package-hello.scm