From de9e23846968417d129adc03c21d3e28aa977496 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 13 May 2019 09:15:17 +0200 Subject: FIx some malformed XML in option descriptions E.g. these were using "" at the *end* of a description. The real WTF is that this is possible at all... --- nixos/modules/virtualisation/docker-containers.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'nixos/modules/virtualisation/docker-containers.nix') 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. - - + Valid formats: - + @@ -91,21 +90,19 @@ let - + Both hostPort and containerPort 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: 1234-1236:1234-1236/tcp - - + When specifying a range for hostPort only, the containerPort must not be a range. In this case, the container port is published somewhere within the specified hostPort range. Example: 1234-1236:1234/tcp - - + Refer to the Docker engine documentation for full details. -- cgit v1.2.3