11
5

Migrate existing docker-compose.yml to Guix' own OCI provisioning API

3mon 27d ago by lemmy.ml/u/fishinthecalculator in guix@lemmy.ml from codeberg.org

@fishinthecalculator Woow, nice!

I think a key difference with Docker Compose is that this is very much static: ‘guix compose import’ creates a Guix System config snippet.

Would Be Nice™ to also hook up the ‘docker-compose.yml’ parser to create containers on-the-fly, managed by a Shepherd instance, in the spirit of Swineherd:
https://github.com/BIMSBbioinfo/swineherd

That would more closely match the developer use case, I guess.

Thank you! Yes that would be the next step: having the ability to spawn transient Shepherd services wrapping OCI containers. They'd be gone on reboot but also podman compose does so I believe.

awesome! are there intentions to mainline this feature to guix proper?

I don't plan to make this part of the guix command for now. But once https://codeberg.org/guix/guix/pulls/6595, it will be available as a Guix package and once installed guix compose would be available among the other guix commands like system or pack

how cool!