NixOS Manual: Container Networking with NM

Network Manager calls dhclient on container interfaces and fails
which locks you out of the container after a few seconds, unless
you tell it not to manage these interfaces.

Changed files
+8
nixos
doc
manual
administration
+8
nixos/doc/manual/administration/container-networking.xml
···
external interface. Note that <literal>ve-+</literal> is a wildcard
that matches all container interfaces.</para>
+
<para>If you are using Network Manager, you need to explicitly prevent
+
it from managing container interfaces:
+
+
<programlisting>
+
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
+
</programlisting>
+
</para>
+
</section>