Quellcode durchsuchen

Merge pull request #4528 from tomfotherby/patch-1

Correct Docker run --host param to --hostname
James Turnbull vor 11 Jahren
Ursprung
Commit
198f8d7884
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      docs/sources/reference/commandline/cli.rst

+ 1 - 1
docs/sources/reference/commandline/cli.rst

@@ -1096,7 +1096,7 @@ image is removed.
       --cidfile="": Write the container ID to the file
       --cidfile="": Write the container ID to the file
       -d, --detach=false: Detached mode: Run container in the background, print new container id
       -d, --detach=false: Detached mode: Run container in the background, print new container id
       -e, --env=[]: Set environment variables
       -e, --env=[]: Set environment variables
-      -h, --host="": Container host name
+      -h, --hostname="": Container host name
       -i, --interactive=false: Keep stdin open even if not attached
       -i, --interactive=false: Keep stdin open even if not attached
       --privileged=false: Give extended privileges to this container
       --privileged=false: Give extended privileges to this container
       -m, --memory="": Memory limit (format: <number><optional unit>, where unit = b, k, m or g)
       -m, --memory="": Memory limit (format: <number><optional unit>, where unit = b, k, m or g)