diff options
author | 2018-10-10 21:20:08 +0200 | |
---|---|---|
committer | 2018-11-26 18:09:01 +0100 | |
commit | 1d7579c473dd665df213fbc8a30f032994546246 (patch) | |
tree | 42a05e9b2bd18f55440dd8d517ea85f2c49bd3fc /man | |
parent | copy: support getting progress feedback from the various copy functions (diff) | |
download | systemd-1d7579c473dd665df213fbc8a30f032994546246.tar.gz systemd-1d7579c473dd665df213fbc8a30f032994546246.tar.bz2 systemd-1d7579c473dd665df213fbc8a30f032994546246.zip |
machine: add support for importing containers from plain directories
Fixes: #2728
This is also supposed to be preparation for doing #10234 eventually,
where a very similar operation is requested: instead of importing a tree
to /var/lib/machines it would need to be imported into
/var/lib/portables/.
Diffstat (limited to 'man')
-rw-r--r-- | man/machinectl.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/man/machinectl.xml b/man/machinectl.xml index fc61613fb..e403c51e2 100644 --- a/man/machinectl.xml +++ b/man/machinectl.xml @@ -816,6 +816,15 @@ </varlistentry> <varlistentry> + <term><command>import-fs</command> <replaceable>DIRECTORY</replaceable> [<replaceable>NAME</replaceable>]</term> + + <listitem><para>Imports a container image stored in a local directory into + <filename>/var/lib/machines/</filename>, operates similar to <command>import-tar</command> or + <command>import-raw</command>, but the first argument is the source directory. If supported, this command will + create btrfs snapshot or subvolume for the new image.</para></listitem> + </varlistentry> + + <varlistentry> <term><command>export-tar</command> <replaceable>NAME</replaceable> [<replaceable>FILE</replaceable>]</term> <term><command>export-raw</command> <replaceable>NAME</replaceable> [<replaceable>FILE</replaceable>]</term> <listitem><para>Exports a TAR or RAW container or VM image and |