diff options
author | Giacomo Leidi <[email protected]> | 2024-05-04 00:11:16 +0200 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2024-05-25 15:34:53 +0200 |
commit | c07731a777137b673725a4318411a3df6e221d29 (patch) | |
tree | eae5fe54b0e1a91e45088f7910f0b41ff20e241c /configure.ac | |
parent | 68adfaea25a31247c1555f503839f928ba2e9a04 (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 'configure.ac')
0 files changed, 0 insertions, 0 deletions