ソースを参照

Merge pull request #10369 from mcfiredrill/etc-host-typo

fix /etc/host typo in remote API docs
James Turnbull 10 年 前
コミット
3ac5596fe0

+ 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.