From 785890acf6d629ff881a1f065f431df1b7fc8c7a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 17 Dec 2014 21:51:45 +0100 Subject: machinectl: implement "bind" command to create additional bind mounts from host to container during runtime --- man/machinectl.xml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'man/machinectl.xml') diff --git a/man/machinectl.xml b/man/machinectl.xml index 2f2e2571f5..9d8a94aab4 100644 --- a/man/machinectl.xml +++ b/man/machinectl.xml @@ -146,6 +146,25 @@ footer. + + + + When used with + bind creates the + destination directory before applying + the bind mount. + + + + + + + When used with + bind applies a + read-only bind + mount. + + @@ -270,6 +289,31 @@ instance. + + bind ID DIRECTORY [DIRECTORY] + + Bind mounts a + directory from the host into the + specified container. The first + directory argument is the source + directory on the host, the second + directory argument the source + directory on the host. When the latter + is omitted the destination path in the + container is the same as the source + path on the host. When combined with + the + switch a ready-only bind mount is + created. When combined with the + switch the + destination path is first created + before the mount is applied. Note that + this option is currently only + supported for + systemd-nspawn1 + containers. + + -- cgit v1.2.3-54-g00ecf