Linux "lxc.copy" Command Line Options and Examples
Copy containers within or in between LXD instances

Description: Copy containers within or in between LXD instances.


Usage:

lxc copy [:][/] [[:]] [flags]






Command Line Options:

-c
--config=[] Config key/value to apply to the new container``
lxc.copy -c ...
--container-only[
Copy the container without its snapshots
lxc.copy --container-only[ ...
-e
--ephemeral[=false] Ephemeral container
lxc.copy -e ...
--mode
Transfer mode. One of pull (default), push or relay``
lxc.copy --mode ...
--no-profiles[
Create the container with no profiles applied
lxc.copy --no-profiles[ ...
-p
--profile=[] Profile to apply to the new container``
lxc.copy -p ...
--stateless[
Copy a stateful container stateless
lxc.copy --stateless[ ...
--target=""
OPTIONS INHERITED FROM PARENT COMMANDS
lxc.copy --target="" ...
--debug[
Show all debug messages
lxc.copy --debug[ ...
--force-local[
Force using the local unix socket
lxc.copy --force-local[ ...
-h
--help[=false] Print help
lxc.copy -h ...
-v
--verbose[=false] Show all information messages
lxc.copy -v ...
--version[
Print version number
lxc.copy --version[ ...