Closed mjmeintjes closed 2 months ago
you could try loading the image first.
in this specific case:
sudo nix2container /nix/store/0cdzy9y0bh1qh95blp9rgm5pgwivyhhx-nix-image-redis.tar
you'd probably want a way that hooks into arion up
and does this for you.
@mjmeintjes did you configure Arion to use containerd? looking more into it i got the understanding that it uses docker by default which isn't using the configured snapshotter? would be great if you could share a full config to demonstrate how you could this working.
@mjmeintjes did you configure Arion to use containerd? looking more into it i got the understanding that it uses docker by default which isn't using the configured snapshotter? would be great if you could share a full config to demonstrate how you could this working.
I could not get nix-snapshotter working with Arion, and we've since migrated most of our docker containers to nixos and nixos-containers so I haven't spent any more time on this.
I'm trying to figure out how to use nix-snapshotter to run images that are then composed using Arion , nix frontend for docker-compose.
I've set it up like this:
But when I run it, I get the following error:
Does anyone have any experience using nix-snapshotter with Arion or docker-compose?