the.bay.news

How to ensure directory exists inside of generated lxc tarball

NixOS Discourse
How to ensure directory exists inside of generated lxc tarball
I am trying to create lxc tarballs for incus, and I want to bind certain directories so that the folders pertaining to the service I’m running are persisted on disk rather than inside the container (I want to be able to throw away the container and still have all the data saved where a new container could pick back up). My problem is that in order to create the incus instance with the bind mounts already defined, those folders need to already exist. I’ve tried using systemd.tmpfiles.rules, but t...

I am trying to create lxc tarballs for incus, and I want to bind certain directories so that the folders pertaining to the service I’m running are persisted on disk rather than…

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.