Browse Source

Merge pull request #13027 from runcom/fix-typo-reference-remote-api

Fix typo in the api remote reference for links
Jessie Frazelle 10 năm trước cách đây
mục cha
commit
128a07b512

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

@@ -207,8 +207,8 @@ Json Parameters:
           volume for the container), `host_path:container_path` (to bind-mount
           volume for the container), `host_path:container_path` (to bind-mount
           a host path into the container), or `host_path:container_path:ro`
           a host path into the container), or `host_path:container_path:ro`
           (to make the bind-mount read-only inside the container).
           (to make the bind-mount read-only inside the container).
-  -   **Links** - A list of links for the container.  Each link entry should be of
-        of the form "container_name:alias".
+  -   **Links** - A list of links for the container.  Each link entry should be
+        in the form of "container_name:alias".
   -   **LxcConf** - LXC specific configurations.  These configurations will only
   -   **LxcConf** - LXC specific configurations.  These configurations will only
         work when using the `lxc` execution driver.
         work when using the `lxc` execution driver.
   -   **PortBindings** - A map of exposed container ports and the host port they
   -   **PortBindings** - A map of exposed container ports and the host port they

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

@@ -207,8 +207,8 @@ Json Parameters:
           volume for the container), `host_path:container_path` (to bind-mount
           volume for the container), `host_path:container_path` (to bind-mount
           a host path into the container), or `host_path:container_path:ro`
           a host path into the container), or `host_path:container_path:ro`
           (to make the bind-mount read-only inside the container).
           (to make the bind-mount read-only inside the container).
-  -   **Links** - A list of links for the container.  Each link entry should be of
-        of the form "container_name:alias".
+  -   **Links** - A list of links for the container.  Each link entry should be
+        in the form of "container_name:alias".
   -   **LxcConf** - LXC specific configurations.  These configurations will only
   -   **LxcConf** - LXC specific configurations.  These configurations will only
         work when using the `lxc` execution driver.
         work when using the `lxc` execution driver.
   -   **PortBindings** - A map of exposed container ports and the host port they
   -   **PortBindings** - A map of exposed container ports and the host port they

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

@@ -207,8 +207,8 @@ Json Parameters:
           volume for the container), `host_path:container_path` (to bind-mount
           volume for the container), `host_path:container_path` (to bind-mount
           a host path into the container), or `host_path:container_path:ro`
           a host path into the container), or `host_path:container_path:ro`
           (to make the bind-mount read-only inside the container).
           (to make the bind-mount read-only inside the container).
-  -   **Links** - A list of links for the container.  Each link entry should be of
-        of the form "container_name:alias".
+  -   **Links** - A list of links for the container.  Each link entry should be
+        in the form of "container_name:alias".
   -   **LxcConf** - LXC specific configurations.  These configurations will only
   -   **LxcConf** - LXC specific configurations.  These configurations will only
         work when using the `lxc` execution driver.
         work when using the `lxc` execution driver.
   -   **PortBindings** - A map of exposed container ports and the host port they
   -   **PortBindings** - A map of exposed container ports and the host port they

+ 2 - 2
docs/sources/reference/api/docker_remote_api_v1.18.md

@@ -218,8 +218,8 @@ Json Parameters:
             volume for the container), `host_path:container_path` (to bind-mount
             volume for the container), `host_path:container_path` (to bind-mount
             a host path into the container), or `host_path:container_path:ro`
             a host path into the container), or `host_path:container_path:ro`
             (to make the bind-mount read-only inside the container).
             (to make the bind-mount read-only inside the container).
-    -   **Links** - A list of links for the container. Each link entry should be of
-          of the form `container_name:alias`.
+    -   **Links** - A list of links for the container. Each link entry should be
+          in the form of `container_name:alias`.
     -   **LxcConf** - LXC specific configurations. These configurations will only
     -   **LxcConf** - LXC specific configurations. These configurations will only
           work when using the `lxc` execution driver.
           work when using the `lxc` execution driver.
     -   **PortBindings** - A map of exposed container ports and the host port they
     -   **PortBindings** - A map of exposed container ports and the host port they

+ 2 - 2
docs/sources/reference/api/docker_remote_api_v1.19.md

@@ -224,8 +224,8 @@ Json Parameters:
             volume for the container), `host_path:container_path` (to bind-mount
             volume for the container), `host_path:container_path` (to bind-mount
             a host path into the container), or `host_path:container_path:ro`
             a host path into the container), or `host_path:container_path:ro`
             (to make the bind-mount read-only inside the container).
             (to make the bind-mount read-only inside the container).
-    -   **Links** - A list of links for the container. Each link entry should be of
-          of the form `container_name:alias`.
+    -   **Links** - A list of links for the container. Each link entry should be
+          in the form of `container_name:alias`.
     -   **LxcConf** - LXC specific configurations. These configurations will only
     -   **LxcConf** - LXC specific configurations. These configurations will only
           work when using the `lxc` execution driver.
           work when using the `lxc` execution driver.
     -   **PortBindings** - A map of exposed container ports and the host port they
     -   **PortBindings** - A map of exposed container ports and the host port they