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
..
admin.scm
audio.scm
auditd.scm
authentication.scm
avahi.scm
backup.scm services: Add restic-backup service. 2024-05-25 15:24:14 +02:00
base.scm services: guix: Use Shepherd 0.10 API for actions. 2024-05-05 12:06:23 +02:00
certbot.scm
cgit.scm
ci.scm
configuration.scm
cuirass.scm services: cuirass: Remove use-substitutes? configuration option. 2024-05-04 19:14:25 +02:00
cups.scm
databases.scm services: postgresql: Simplify execution of ‘initdb’. 2024-03-30 01:01:32 +01:00
dbus.scm
desktop.scm services: Add gvfs-service-type. 2024-04-29 08:54:36 +08:00
dict.scm
dns.scm
docker.scm gnu: docker: Allow passing tarballs for images in oci-container-configuration. 2024-05-25 15:34:53 +02:00
file-sharing.scm
games.scm
ganeti.scm
getmail.scm
guix.scm services: Add the Guix Home service. 2024-04-17 12:13:03 +02:00
herd.scm
hurd.scm
kerberos.scm
ldap.scm
lightdm.scm services: lightdm: Use ‘make-forkexec-constructor’. 2024-04-28 23:37:24 +02:00
linux.scm
lirc.scm
mail.scm
mcron.scm
messaging.scm gnu: services: Add insecure-sasl-mechanisms to prosody configuration. 2024-03-17 12:53:21 +01:00
monitoring.scm
networking.scm
nfs.scm
nix.scm
pam-mount.scm
pm.scm gnu: services: Add power-profiles-daemon-service-type. 2024-05-15 20:58:03 +01:00
rsync.scm
samba.scm
science.scm
sddm.scm services: sddm: Add extension for localed-service-type. 2024-03-19 18:52:16 +08:00
security-token.scm
security.scm
shepherd.scm services: shepherd: Load each service file in a fresh module. 2024-03-21 17:43:15 +01:00
sound.scm
spice.scm
ssh.scm
syncthing.scm
sysctl.scm
telephony.scm
version-control.scm
virtualization.scm services: build-vm: Provide only one locale. 2024-04-29 22:52:08 +02:00
vnc.scm
vpn.scm
web.scm
xorg.scm services: gdm: Use ‘make-forkexec-constructor’. 2024-04-28 23:41:50 +02:00