lxc-copy --version (return code: 0)
2.1.0
lxc-copy --help (return code: 0)
Usage: lxc-copy
--name=NAME [-P lxcpath] -N newname [-p newpath] [-B backingstorage] [-s] [-K] [-M] [-L size [unit]] -- hook options
--name=NAME [-P lxcpath] [-N newname] [-p newpath] [-B backingstorage] -e [-d] [-D] [-K] [-M] [-m {bind,aufs,overlay}=/src:/dest] -- hook options
--name=NAME [-P lxcpath] -N newname -R
lxc-copy clone a container
Options :
-n, --name=NAME NAME of the container
-N, --newname=NEWNAME NEWNAME for the restored container
-p, --newpath=NEWPATH NEWPATH for the container to be stored
-R, --rename rename container
-s, --snapshot create snapshot instead of clone
-F, --foreground start with current tty attached to /dev/console
-d, --daemon daemonize the container (default)
-e, --ephemeral start ephemeral container
-m, --mount directory to mount into container, either
{bind,aufs,overlay}=/src-path or {bind,aufs,overlay}=/src-path:/dst-path
-B, --backingstorage=TYPE backingstorage type for the container
-t, --tmpfs place ephemeral container on a tmpfs
(WARNING: On reboot all changes made to the container will be lost.)
-L, --fssize size of the new block device for block device containers
-D, --keedata pass together with -e start a persistent snapshot
-K, --keepname keep the hostname of the original container
-- hook options arguments passed to the hook program
-M, --keepmac keep the MAC address of the original container
--rcfile=FILE Load configuration file FILE
Common options :
-o, --logfile=FILE Output log to FILE instead of stderr
-l, --logpriority=LEVEL Set log priority to LEVEL
-q, --quiet Don't produce any output
-P, --lxcpath=PATH Use specified container path
-?, --help Give this help list
--usage Give a short usage message
--version Print the version number
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
See the lxc-copy man page for further information.