about summary refs log tree commit diff
path: root/nixos/modules/virtualisation
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-05-13 09:15:17 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-05-13 09:15:17 +0200
commitde9e23846968417d129adc03c21d3e28aa977496 (patch)
treef2dfe94efad03c940ae71e53004f122410987080 /nixos/modules/virtualisation
parent59a733edae6c08ec88d007a0ebcdcdb8f906e3ff (diff)
downloadnixlib-de9e23846968417d129adc03c21d3e28aa977496.tar
nixlib-de9e23846968417d129adc03c21d3e28aa977496.tar.gz
nixlib-de9e23846968417d129adc03c21d3e28aa977496.tar.bz2
nixlib-de9e23846968417d129adc03c21d3e28aa977496.tar.lz
nixlib-de9e23846968417d129adc03c21d3e28aa977496.tar.xz
nixlib-de9e23846968417d129adc03c21d3e28aa977496.tar.zst
nixlib-de9e23846968417d129adc03c21d3e28aa977496.zip
FIx some malformed XML in option descriptions
E.g. these were using "<para>" at the *end* of a description. The real
WTF is that this is possible at all...
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r--nixos/modules/virtualisation/docker-containers.nix13
1 files changed, 5 insertions, 8 deletions
diff --git a/nixos/modules/virtualisation/docker-containers.nix b/nixos/modules/virtualisation/docker-containers.nix
index c4e47bfa477c..c1f0ba303e32 100644
--- a/nixos/modules/virtualisation/docker-containers.nix
+++ b/nixos/modules/virtualisation/docker-containers.nix
@@ -65,10 +65,9 @@ let
           default = [];
           description = ''
             Network ports to publish from the container to the outer host.
-            </para>
-            <para>
+
             Valid formats:
-            </para>
+
             <itemizedlist>
               <listitem>
                 <para>
@@ -91,21 +90,19 @@ let
                 </para>
               </listitem>
             </itemizedlist>
-            <para>
+
             Both <literal>hostPort</literal> and
             <literal>containerPort</literal> can be specified as a range of
             ports.  When specifying ranges for both, the number of container
             ports in the range must match the number of host ports in the
             range.  Example: <literal>1234-1236:1234-1236/tcp</literal>
-            </para>
-            <para>
+
             When specifying a range for <literal>hostPort</literal> only, the
             <literal>containerPort</literal> must <emphasis>not</emphasis> be a
             range.  In this case, the container port is published somewhere
             within the specified <literal>hostPort</literal> range.  Example:
             <literal>1234-1236:1234/tcp</literal>
-            </para>
-            <para>
+
             Refer to the
             <link xlink:href="https://docs.docker.com/engine/reference/run/#expose-incoming-ports">
             Docker engine documentation</link> for full details.