浏览代码

fix /etc/host typo in remote API docs

Signed-off-by: Tony Miller <mcfiredrill@gmail.com>
Tony Miller 10 年之前
父节点
当前提交
87d2adf070

+ 1 - 1
docs/sources/reference/api/docker_remote_api_v1.15.md

@@ -222,7 +222,7 @@ Json Parameters:
   -   **Dns** - A list of dns servers for the container to use.
   -   **DnsSearch** - A list of DNS search domains
   -   **ExtraHosts** - A list of hostnames/IP mappings to be added to the
-      container's `/etc/host` file. Specified in the form `["hostname:IP"]`.
+      container's `/etc/hosts` file. Specified in the form `["hostname:IP"]`.
   -   **VolumesFrom** - A list of volumes to inherit from another container.
         Specified in the form `<container name>[:<ro|rw>]`
   -   **CapAdd** - A list of kernel capabilties to add to the container.

+ 1 - 1
docs/sources/reference/api/docker_remote_api_v1.16.md

@@ -222,7 +222,7 @@ Json Parameters:
   -   **Dns** - A list of dns servers for the container to use.
   -   **DnsSearch** - A list of DNS search domains
   -   **ExtraHosts** - A list of hostnames/IP mappings to be added to the
-      container's `/etc/host` file. Specified in the form `["hostname:IP"]`.
+      container's `/etc/hosts` file. Specified in the form `["hostname:IP"]`.
   -   **VolumesFrom** - A list of volumes to inherit from another container.
         Specified in the form `<container name>[:<ro|rw>]`
   -   **CapAdd** - A list of kernel capabilties to add to the container.

+ 1 - 1
docs/sources/reference/api/docker_remote_api_v1.17.md

@@ -225,7 +225,7 @@ Json Parameters:
   -   **Dns** - A list of dns servers for the container to use.
   -   **DnsSearch** - A list of DNS search domains
   -   **ExtraHosts** - A list of hostnames/IP mappings to be added to the
-      container's `/etc/host` file. Specified in the form `["hostname:IP"]`.
+      container's `/etc/hosts` file. Specified in the form `["hostname:IP"]`.
   -   **VolumesFrom** - A list of volumes to inherit from another container.
         Specified in the form `<container name>[:<ro|rw>]`
   -   **CapAdd** - A list of kernel capabilties to add to the container.