summaryrefslogtreecommitdiff
path: root/manifest.scm
diff options
context:
space:
mode:
authorGiacomo Leidi <[email protected]>2024-05-04 00:11:16 +0200
committerLudovic Courtès <[email protected]>2024-05-25 15:34:53 +0200
commitc07731a777137b673725a4318411a3df6e221d29 (patch)
treeeae5fe54b0e1a91e45088f7910f0b41ff20e241c /manifest.scm
parent68adfaea25a31247c1555f503839f928ba2e9a04 (diff)
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 <[email protected]>
Diffstat (limited to 'manifest.scm')
0 files changed, 0 insertions, 0 deletions