mirror_lxc/doc
Serge Hallyn 9be5377379 implement backend drivers and container clone API (v3)
1. commonize waitpid users to use a single helper.  We frequently want
to run something in a clean namespace, or fork off a script.  This
lets us keep the function doing fork:(1)exec(2)waitpid simpler.

2. start a blockdev backend implementation.  This will be used for
mounting, copying, and snapshotting container filesystems.

3. implement btrfs, lvm, directory, and overlayfs backends.

4. For overlayfs, support a new lxc.rootfs format of
'bdevtype:<extra>'.  This means you can now use overlayfs-based
containers without using lxc-start-ephemeral, by using
lxc.rootfs = overlayfs:/readonly-dir:writeable-dir

5. add a set of simple clone testcases

6. Write a new lxc_clone.c based on api clone.

Still to do (there's more, but off top of my head):

1. support zfs, aufs
2. have clone handle other mount entries (right now it only clones
the rootfs)
3. python, lua, and go bindings (not me :)
4. lxc-destroy: if lvm backing store, check for snapshots of it.
   (what about directories which have overlayfs clones?)

Changes since v2:
	Initialize random generator when picking new macaddr (reported
	  by caglar@10ur.org)
	Fix wrong use of bitmask flags
	On copy-clone of btrfs, create a subvolume
	lxc_clone.c: respect the command line usage of the old script
	lxc-clone(1): update documentation
	Refuse to try changing backing stores expect to overlayfs, as
	  it is not implemented (yet) anyway.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

Conflicts:
	src/lxc/utils.h
2013-04-30 09:12:42 -05:00
..
examples EXTRA_DIST: Fix missing files with "make dist" 2013-03-26 13:12:29 -04:00
legacy fix building docs 2013-04-30 08:19:37 -05:00
rootfs Reinstate README file in rootfs directory 2012-11-12 13:47:51 -05:00
common_options.sgml.in Change author email address 2013-03-19 11:19:13 +01:00
FAQ.txt Remove all trailing whitespaces. 2012-11-26 12:08:13 -05:00
lxc-attach.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-cgroup.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-checkconfig.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-checkpoint.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-clone.sgml.in implement backend drivers and container clone API (v3) 2013-04-30 09:12:42 -05:00
lxc-console.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-create.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-destroy.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-device.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-execute.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-freeze.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-info.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-kill.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-ls.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-monitor.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-netstat.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-ps.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-restart.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-shutdown.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-start-ephemeral.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-start.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-stop.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-top.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-unfreeze.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-unshare.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-version.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc-wait.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc.conf Remove all trailing whitespaces. 2012-11-26 12:08:13 -05:00
lxc.conf.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
lxc.sgml.in fix building docs 2013-04-30 08:19:37 -05:00
Makefile.am Fix 'make clean' 2013-03-26 14:54:12 -04:00
see_also.sgml.in Change author email address 2013-03-19 11:19:13 +01:00