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/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 services: admin: Export rottlog-configuration accessors. 2023-10-24 18:51:39 +02:00
audio.scm services: configuration: Add some commonly used predicates. 2023-10-07 12:41:06 -04:00
auditd.scm
authentication.scm services: Use more 'file-append'. 2023-08-15 23:30:44 +02:00
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 services: certbot: Add one-shot service to renew certificates. 2024-01-31 16:54:19 +01:00
cgit.scm services: cgit: Allow file-like objects for ‘root-readme’. 2023-09-09 15:54:37 +02:00
ci.scm services: laminar: Add configuration option for supplementary groups. 2023-12-28 11:02:56 -05:00
configuration.scm services: configuration: Add some commonly used predicates. 2023-10-07 12:41:06 -04:00
cuirass.scm services: cuirass: Remove use-substitutes? configuration option. 2024-05-04 19:14:25 +02:00
cups.scm services: cups: Add cups PAM service. 2023-05-23 20:26:19 -04:00
databases.scm services: postgresql: Simplify execution of ‘initdb’. 2024-03-30 01:01:32 +01:00
dbus.scm gnu: dbus-service: only symlink /run/dbus the first time 2024-01-07 17:11:02 +01:00
desktop.scm services: Add gvfs-service-type. 2024-04-29 08:54:36 +08:00
dict.scm home: services: Add dicod. 2023-08-20 22:48:47 +02:00
dns.scm Revert "services: Add ddclient service." 2023-08-16 23:13:55 +02:00
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 services: herd: Add a new 'current-service' procedure. 2023-07-21 11:58:44 -04:00
hurd.scm
kerberos.scm services: Use more 'file-append'. 2023-08-15 23:30:44 +02:00
ldap.scm
lightdm.scm services: lightdm: Use ‘make-forkexec-constructor’. 2024-04-28 23:37:24 +02:00
linux.scm services: kernel-module-lodaer: Add udev requirement. 2024-02-05 14:04:15 +08:00
lirc.scm
mail.scm services: Add rspamd-service-type. 2023-12-14 23:12:24 +01:00
mcron.scm services: mcron: Hide ‘mkdir-p’ from (shepherd support). 2023-10-05 23:14:55 +02:00
messaging.scm gnu: services: Add insecure-sasl-mechanisms to prosody configuration. 2024-03-17 12:53:21 +01:00
monitoring.scm services: Add vnstat-service-type. 2023-05-11 16:38:29 +02:00
networking.scm services: block-facebook-hosts: Use proper unroutable addresses. 2024-02-18 15:34:42 +01:00
nfs.scm
nix.scm
pam-mount.scm services: Use more 'file-append'. 2023-08-15 23:30:44 +02:00
pm.scm gnu: services: Add power-profiles-daemon-service-type. 2024-05-15 20:58:03 +01:00
rsync.scm services: rsync: Provide a prettier Shepherd inetd service name. 2023-11-26 23:34:48 +01:00
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 services: Remove unnecessary references to (gnu build shepherd). 2023-12-22 00:31:41 +01:00
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 services: openssh: Add dependency on ‘networking’. 2024-01-08 23:14:45 +01:00
syncthing.scm services: syncthing: Ensure that service runs after mounting home directories. 2023-09-17 15:31:03 +02:00
sysctl.scm
telephony.scm services: jami: Use ‘least-authority-wrapper’. 2023-12-22 00:31:41 +01:00
version-control.scm
virtualization.scm services: build-vm: Provide only one locale. 2024-04-29 22:52:08 +02:00
vnc.scm services: xvnc: Do not specify display number when using inetd. 2023-11-27 10:55:51 -05:00
vpn.scm services: vpn: Fix broken format string for wireguard dns. 2023-09-09 12:24:12 +02:00
web.scm services: Add whoogle-service-type. 2024-02-20 10:57:16 +01:00
xorg.scm services: gdm: Use ‘make-forkexec-constructor’. 2024-04-28 23:41:50 +02:00