As far as I can tell this is pretty much how LXCs and workspaces are set up in Mojo. The only difference from my local LXC-enabled projects is ROOTFS being a directory (on my machine it's a symlink back to /var/lib/lxc/mojo-foo.xenial/rootfs) but this may be something to do with how we create containers in CI and our desire to not store them in /var/lib/lxc. I'm not seeing from this description where the second LXC image comes into the picture.
I think our space problems are simply that we have too many Mojo workspaces and we never delete them. For example software-center-agent has 31 workspaces weighing in at 1.1G each even though we've only retained the last 6 runs in Jenkins.
As far as I can tell this is pretty much how LXCs and workspaces are set up in Mojo. The only difference from my local LXC-enabled projects is ROOTFS being a directory (on my machine it's a symlink back to /var/lib/ lxc/mojo- foo.xenial/ rootfs) but this may be something to do with how we create containers in CI and our desire to not store them in /var/lib/lxc. I'm not seeing from this description where the second LXC image comes into the picture.
I think our space problems are simply that we have too many Mojo workspaces and we never delete them. For example software- center- agent has 31 workspaces weighing in at 1.1G each even though we've only retained the last 6 runs in Jenkins.