From f2cbe59e113f08549949a76ac5b9b3972df4cc30 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 18 Dec 2014 01:35:58 +0100 Subject: machinectl: add new commands for copying files from/to containers --- man/machinectl.xml | 45 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 9 deletions(-) (limited to 'man') diff --git a/man/machinectl.xml b/man/machinectl.xml index 9d8a94aab4..eef1740f95 100644 --- a/man/machinectl.xml +++ b/man/machinectl.xml @@ -185,7 +185,7 @@ - status ID... + status NAME... Show terse runtime status information about one or more @@ -198,14 +198,14 @@ - show ID... + show NAME... Show properties of one or more registered virtual machines or containers or the manager itself. If no argument is specified, properties of the manager will be shown. If an - ID is specified, properties of this + NAME is specified, properties of this virtual machine or container are shown. By default, empty properties are suppressed. Use @@ -222,7 +222,7 @@ - login ID + login NAME Open a terminal login session to a container. This will @@ -235,7 +235,7 @@ - reboot ID... + reboot NAME... Reboot one or more containers. This will trigger a reboot @@ -248,7 +248,7 @@ - poweroff ID... + poweroff NAME... Power off one or more containers. This will trigger a reboot @@ -264,7 +264,7 @@ - kill ID... + kill NAME... Send a signal to one or more processes of the virtual @@ -279,7 +279,7 @@ - terminate ID... + terminate NAME... Terminates a virtual machine or container. This kills all @@ -290,7 +290,7 @@ - bind ID DIRECTORY [DIRECTORY] + bind NAME PATH [PATH] Bind mounts a directory from the host into the @@ -314,6 +314,33 @@ containers. + + copy-to NAME PATH [PATH] + + Copies files or + directories from the host system into + a running container. Takes a container + name, followed by the source path on + the host and the destination path in + the container. If the destination path + is omitted the same as the source path + is used. + + + + + copy-from NAME PATH [PATH] + + Copies files or + directories from a container into the + host system. Takes a container name, + followed by the source path in the + container the destination path on the + host. If the destination path is + omitted the same as the source path is + used. + + -- cgit v1.2.3-54-g00ecf