瀏覽代碼

Correct Docker run --host param to --hostname

Tom Fotherby 11 年之前
父節點
當前提交
d61938d2b8
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
       -d, --detach=false: Detached mode: Run container in the background, print new container id
       -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
       --privileged=false: Give extended privileges to this container
       -m, --memory="": Memory limit (format: <number><optional unit>, where unit = b, k, m or g)