Move LXD containers to another partition

Hello,

I am using lxd to spin up containers but now they have exhausted my entire root memory. I have created these containers using default settings and they are stored in dirs not zfs pools. How can I partially migrate these containers to another partition to spread the memory load?

And is there a command where I can specify where I want my containers to reside when I create them?

Thank you!

Create a new storage pool with lxc storage create, you can place things on a specific storage pool at creation by passing --storage to lxc launch or can move existing instances by stopping them and then using lxc move --storage to move them.