lxc-start-ephemeral --version (return code: 0)
lxc-start-ephemeral is deprecated in favor of lxc-copy
2.1.0
lxc-start-ephemeral --help (return code: 0)
lxc-start-ephemeral is deprecated in favor of lxc-copy
usage: lxc-start-ephemeral [-h] [--lxcpath PATH] --orig ORIG [--name NAME]
[--bdir BDIR] [--cdir CDIR] [--user USER]
[--key KEY] [--daemon] [--storage-type {tmpfs,dir}]
[--union-type {overlayfs,aufs}] [--keep-data]
[--version]
[CMD [CMD ...]]
LXC: Start an ephemeral container
positional arguments:
CMD Run specific command in container (command as argument)
optional arguments:
-h, --help show this help message and exit
--lxcpath PATH, -P PATH
Use specified container path
--orig ORIG, -o ORIG name of the original container
--name NAME, -n NAME name of the target container
--bdir BDIR, -b BDIR directory to bind mount into container, either --bdir=/src-path or --bdir=/src-path:/dst-path
--cdir CDIR, -c CDIR directory to cow mount into container
--user USER, -u USER the user to run the command as
--key KEY, -S KEY the path to the key to use to connect (when using ssh)
--daemon, -d run in the background
--storage-type {tmpfs,dir}, -s {tmpfs,dir}
type of storage use by the container
--union-type {overlayfs,aufs}, -U {overlayfs,aufs}
type of union (overlayfs or aufs), defaults to overlayfs.
--keep-data, -k don't wipe everything clean at the end
--version show program's version number and exit
If a COMMAND is given, then the container will run only as long
as the command runs.
If no COMMAND is given, this command will attach to tty1 and stop the
container when exiting (with ctrl-a-q).
If no COMMAND is given and -d is used, the name and IP addresses of the
container will be printed to the console.