mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-29 02:15:21 +00:00
doc: document console behavior
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
2c056d3836
commit
6e3bb2890c
@ -668,10 +668,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Specify a path to a device to which the console will be
|
Specify a path to a device to which the console will be
|
||||||
attached. The keyword 'none' will simply disable the
|
attached. The keyword 'none' will simply disable the
|
||||||
console. This is dangerous once if have a rootfs with a
|
console. Note, when specifying 'none' and creating a device node
|
||||||
console device file where the application can write, the
|
for the console in the container at /dev/console or bind-mounting
|
||||||
messages will fall in the host.
|
the hosts's /dev/console into the container at /dev/console the
|
||||||
|
container will have direct access to the hosts's /dev/console.
|
||||||
|
This is dangerous when the container has write access to the
|
||||||
|
device and should thus be used with caution.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@ -727,7 +730,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Specify a directory under <filename>/dev</filename>
|
Specify a directory under <filename>/dev</filename>
|
||||||
under which to create the container console devices.
|
under which to create the container console devices. Note that LXC
|
||||||
|
will move any bind-mounts or device nodes for /dev/console into
|
||||||
|
this directory.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
Loading…
Reference in New Issue
Block a user