-
Notifications
You must be signed in to change notification settings - Fork 181
Leverage lxc-clone / BTRFS #99
Comments
I have a rough sketch for This still implies a few things to get it working:
Obviously this is more of a proof-of-concept, but do you think it's worth to pursue this any further? |
I have something pretty similar to @codec's branch that I've been using internally for a test pipeline, but it also needs cleanup. Here's a quick WIP: ccope/vagrant-lxc@fgrehm:next...clone_public (I've been using this on Ubuntu 12.04, LXC 0.7.5, with LVM) The major problem I've run into is that shared folders don't work with LVM (or probably anything else that isn't a plain directory or overlay). The root volume isn't mounted in a place which is accessible by the host when the guest boots, so the current method of mkdir'ing it doesn't work. The mountpoint directories have to be created either when the tarball gets unpacked or via ssh once the vm boots up (the latter is more flexible). |
I'm up for having this in place and I actually had some notes around it, I'll try to find them and will get back to you guys :-) |
So, I've found a couple of ways to interact with a running container's filesystem from the host. One, if you're running a new enough kernel, is to just use I'm going to implement the latter option in my branch for now, because it has better backwards compatibility, but lxc-attach seems much less hacky. |
Hey, sorry for the silence here but this project is looking for maintainers 😅 As per #499, I've added the |
No description provided.
The text was updated successfully, but these errors were encountered: