diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-02-25 18:21:13 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-02-25 20:08:07 +0100 |
commit | 17fe052346f1d905b5ce0f12123b5ce24e992c6b (patch) | |
tree | 30319293c62fcea4602ea4408cce6ee11e1a131e /man/systemd-nspawn.xml | |
parent | 2d0614d3d310e1fa0246bb6fcf90f7014acaf209 (diff) |
nspawn: add --bind= and --bind-ro= to bind mount host paths into the container
Diffstat (limited to 'man/systemd-nspawn.xml')
-rw-r--r-- | man/systemd-nspawn.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index 5cba40bcd4..41477b46d5 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -298,6 +298,26 @@ <listitem><para>Equivalent to <option>--link-journal=guest</option>.</para></listitem> </varlistentry> + + <varlistentry> + <term><option>--bind=</option></term> + <term><option>--bind-ro=</option></term> + + <listitem><para>Bind mount a file or + directory from the host into the + container. Either takes a path + argument -- in which case the + specified path will be mounted from + the host to the same path in the + container --, or a colon-separated + pair of paths -- in which case the + first specified path is the source in + the host, and the second path is the + destination in the container. The + <option>--bind-ro=</option> option + creates read-only bind + mount.</para></listitem> + </varlistentry> </variablelist> </refsect1> |