Naranden writes: > On 5/11/25 00:03, Naranden wrote: >> Here are some more details. I am experimenting with using guix to >> provide a multi-container (or similar) reproducible environment from >> local development (with something like guix system vm or container) to >> deployment (with guix deploy). I am wondering about writing various >> container operating-system definitions, adding those as services to a >> host operating-system definition, and then using guix deploy to deploy >> the host operating-system. > > In case anyone is interested, I was able to get something *like* this to > work with Docker containers: I can define an operating-system that is > then included as a service in a parent operating-system.
FYI: rootless-podman might be better. > With Docker involved here, there is extra time and disk space used > bundling and extracting the OCI image. Guix bundles the operating-system > into an image.tar.gz and then the parent operating-system tells Docker > to load that image from the store. > > I suppose there must be some way to make this work like Guix system > containers, where everything the container needs is loaded from the > store rather than through Docker. Why not build the 'container' script for the users and let them run it? --
