I decided to organize my containers in projects, and I am encountering some problems:
-
It seems that I have to stop the container in order to move it. Otherwise, I get an error:
Error: Create instance from copy: exit status 1
Since rename requires a container to be stopped, I can understand why move would also need that. -
It seems that the zfs container filesystem is copied, so it takes a long time. I expected that moving containers between projects would be similar to rename. It should not copy the filesystem.
This is what I tried:
lxc move --target-project project1 container1 container1
I followed these instructions: