Add warning about containers (#203)

A couple people have come by IRC having issues where the root cause was that they were stuck on the CDDL/GPL prompt from apt never rendering because their container runtime console wasn't being detected as dumb/noninteractive by apt, but wasn't capable of displaying the prompt.

So let's add a warning about that, shall we?
This commit is contained in:
Rich Ercolani
2021-09-14 04:12:32 -04:00
committed by GitHub
parent 3072a80310
commit cfa01ddfe8

View File

@@ -42,6 +42,10 @@ Install the packages::
apt install dpkg-dev linux-headers-$(uname -r) linux-image-amd64 apt install dpkg-dev linux-headers-$(uname -r) linux-image-amd64
apt install zfs-dkms zfsutils-linux apt install zfs-dkms zfsutils-linux
**Caution**: If you are in a poorly configured environment (e.g. certain VM or container consoles), when apt attempts to pop up a message on first install, it may fail to notice a real console is unavailable, and instead appear to hang indefinitely. To circumvent this, you can prefix the `apt install` commands with ``DEBIAN_FRONTEND=noninteractive``, like this::
DEBIAN_FRONTEND=noninteractive apt install zfs-dkms zfsutils-linux
Root on ZFS Root on ZFS
----------- -----------
.. toctree:: .. toctree::