guix-play/gnu
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
..
bootloader bootloader: Add u-boot-starfive-visionfive2-bootloader. 2024-05-22 11:15:30 +08:00
build
home home: services: bash: Move default PS1 prompt to bashrc 2024-04-29 23:54:13 +02:00
installer system: Remove nss-certs from OS templates, adjust doc. 2024-04-18 10:43:06 -04:00
machine
packages gnu: cl-nodgui: Update to 0.6.2.0-1.9d0c973. 2024-05-25 11:16:09 +02:00
services gnu: docker: Allow passing tarballs for images in oci-container-configuration. 2024-05-25 15:34:53 +02:00
system system: images: Add visionfive2 module. 2024-05-22 11:15:30 +08:00
tests services: Add the Guix Home service. 2024-04-17 12:13:03 +02:00
artwork.scm
bootloader.scm
ci.scm ci: Don’t cross-compile to xtensa-ath9k-elf. 2024-04-17 17:29:58 +02:00
compression.scm
home.scm
image.scm
installer.scm
local.mk services: Add restic-backup service. 2024-05-25 15:24:14 +02:00
machine.scm
packages.scm
services.scm
system.scm system: Do not delete all nss-certs packages when they are the same object. 2024-05-15 22:53:31 -04:00
tests.scm