Procházet zdrojové kódy

api docs: fix broken link on GitHub

The pages that were linked to have moved, so changing the
links to point to docs.docker.com instead.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit e9348898d3f33e193d0bf12031edea1db6584ae1)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn před 5 roky
rodič
revize
b66813eb45
7 změnil soubory, kde provedl 18 přidání a 18 odebrání
  1. 2 2
      docs/api/v1.18.md
  2. 2 2
      docs/api/v1.19.md
  3. 2 2
      docs/api/v1.20.md
  4. 3 3
      docs/api/v1.21.md
  5. 3 3
      docs/api/v1.22.md
  6. 3 3
      docs/api/v1.23.md
  7. 3 3
      docs/api/v1.24.md

+ 2 - 2
docs/api/v1.18.md

@@ -19,7 +19,7 @@ redirect_from:
 ## 1. Brief introduction
 ## 1. Brief introduction
 
 
  - The daemon listens on `unix:///var/run/docker.sock` but you can
  - The daemon listens on `unix:///var/run/docker.sock` but you can
-   [Bind Docker to another host/port or a Unix socket](../reference/commandline/dockerd.md#bind-docker-to-another-host-port-or-a-unix-socket).
+   [Bind Docker to another host/port or a Unix socket](https://docs.docker.com/engine/reference/commandline/dockerd/#bind-docker-to-another-host-port-or-a-unix-socket).
  - The API tends to be REST, but for some complex commands, like `attach`
  - The API tends to be REST, but for some complex commands, like `attach`
    or `pull`, the HTTP connection is hijacked to transport `stdout`,
    or `pull`, the HTTP connection is hijacked to transport `stdout`,
    `stdin` and `stderr`.
    `stdin` and `stderr`.
@@ -1234,7 +1234,7 @@ the path to the alternate build instructions file to use.
 
 
 The archive may include any number of other files,
 The archive may include any number of other files,
 which are accessible in the build context (See the [*ADD build
 which are accessible in the build context (See the [*ADD build
-command*](../reference/builder.md#add)).
+command*](https://docs.docker.com/engine/reference/builder/#add)).
 
 
 The Docker daemon performs a preliminary validation of the `Dockerfile` before
 The Docker daemon performs a preliminary validation of the `Dockerfile` before
 starting the build, and returns an error if the syntax is incorrect. After that,
 starting the build, and returns an error if the syntax is incorrect. After that,

+ 2 - 2
docs/api/v1.19.md

@@ -19,7 +19,7 @@ redirect_from:
 ## 1. Brief introduction
 ## 1. Brief introduction
 
 
  - The daemon listens on `unix:///var/run/docker.sock` but you can
  - The daemon listens on `unix:///var/run/docker.sock` but you can
-   [Bind Docker to another host/port or a Unix socket](../reference/commandline/dockerd.md#bind-docker-to-another-host-port-or-a-unix-socket).
+   [Bind Docker to another host/port or a Unix socket](https://docs.docker.com/engine/reference/commandline/dockerd/#bind-docker-to-another-host-port-or-a-unix-socket).
  - The API tends to be REST. However, for some complex commands, like `attach`
  - The API tends to be REST. However, for some complex commands, like `attach`
    or `pull`, the HTTP connection is hijacked to transport `stdout`,
    or `pull`, the HTTP connection is hijacked to transport `stdout`,
    `stdin` and `stderr`.
    `stdin` and `stderr`.
@@ -1276,7 +1276,7 @@ the path to the alternate build instructions file to use.
 
 
 The archive may include any number of other files,
 The archive may include any number of other files,
 which are accessible in the build context (See the [*ADD build
 which are accessible in the build context (See the [*ADD build
-command*](../reference/builder.md#add)).
+command*](https://docs.docker.com/engine/reference/builder/#add)).
 
 
 The Docker daemon performs a preliminary validation of the `Dockerfile` before
 The Docker daemon performs a preliminary validation of the `Dockerfile` before
 starting the build, and returns an error if the syntax is incorrect. After that,
 starting the build, and returns an error if the syntax is incorrect. After that,

+ 2 - 2
docs/api/v1.20.md

@@ -19,7 +19,7 @@ redirect_from:
 ## 1. Brief introduction
 ## 1. Brief introduction
 
 
  - The daemon listens on `unix:///var/run/docker.sock` but you can
  - The daemon listens on `unix:///var/run/docker.sock` but you can
-   [Bind Docker to another host/port or a Unix socket](../reference/commandline/dockerd.md#bind-docker-to-another-host-port-or-a-unix-socket).
+   [Bind Docker to another host/port or a Unix socket](https://docs.docker.com/engine/reference/commandline/dockerd/#bind-docker-to-another-host-port-or-a-unix-socket).
  - The API tends to be REST. However, for some complex commands, like `attach`
  - The API tends to be REST. However, for some complex commands, like `attach`
    or `pull`, the HTTP connection is hijacked to transport `stdout`,
    or `pull`, the HTTP connection is hijacked to transport `stdout`,
    `stdin` and `stderr`.
    `stdin` and `stderr`.
@@ -1407,7 +1407,7 @@ the path to the alternate build instructions file to use.
 
 
 The archive may include any number of other files,
 The archive may include any number of other files,
 which are accessible in the build context (See the [*ADD build
 which are accessible in the build context (See the [*ADD build
-command*](../reference/builder.md#add)).
+command*](https://docs.docker.com/engine/reference/builder/#add)).
 
 
 The Docker daemon performs a preliminary validation of the `Dockerfile` before
 The Docker daemon performs a preliminary validation of the `Dockerfile` before
 starting the build, and returns an error if the syntax is incorrect. After that,
 starting the build, and returns an error if the syntax is incorrect. After that,

+ 3 - 3
docs/api/v1.21.md

@@ -19,7 +19,7 @@ redirect_from:
 ## 1. Brief introduction
 ## 1. Brief introduction
 
 
  - The daemon listens on `unix:///var/run/docker.sock` but you can
  - The daemon listens on `unix:///var/run/docker.sock` but you can
-   [Bind Docker to another host/port or a Unix socket](../reference/commandline/dockerd.md#bind-docker-to-another-host-port-or-a-unix-socket).
+   [Bind Docker to another host/port or a Unix socket](https://docs.docker.com/engine/reference/commandline/dockerd/#bind-docker-to-another-host-port-or-a-unix-socket).
  - The API tends to be REST. However, for some complex commands, like `attach`
  - The API tends to be REST. However, for some complex commands, like `attach`
    or `pull`, the HTTP connection is hijacked to transport `stdout`,
    or `pull`, the HTTP connection is hijacked to transport `stdout`,
    `stdin` and `stderr`.
    `stdin` and `stderr`.
@@ -1488,7 +1488,7 @@ the path to the alternate build instructions file to use.
 
 
 The archive may include any number of other files,
 The archive may include any number of other files,
 which are accessible in the build context (See the [*ADD build
 which are accessible in the build context (See the [*ADD build
-command*](../reference/builder.md#add)).
+command*](https://docs.docker.com/engine/reference/builder/#add)).
 
 
 The Docker daemon performs a preliminary validation of the `Dockerfile` before
 The Docker daemon performs a preliminary validation of the `Dockerfile` before
 starting the build, and returns an error if the syntax is incorrect. After that,
 starting the build, and returns an error if the syntax is incorrect. After that,
@@ -1526,7 +1526,7 @@ or being killed.
         these values at build-time. Docker uses the `buildargs` as the environment
         these values at build-time. Docker uses the `buildargs` as the environment
         context for command(s) run via the Dockerfile's `RUN` instruction or for
         context for command(s) run via the Dockerfile's `RUN` instruction or for
         variable expansion in other Dockerfile instructions. This is not meant for
         variable expansion in other Dockerfile instructions. This is not meant for
-        passing secret values. [Read more about the buildargs instruction](../reference/builder.md#arg)
+        passing secret values. [Read more about the buildargs instruction](https://docs.docker.com/engine/reference/builder/#arg)
 
 
 **Request Headers**:
 **Request Headers**:
 
 

+ 3 - 3
docs/api/v1.22.md

@@ -19,7 +19,7 @@ redirect_from:
 ## 1. Brief introduction
 ## 1. Brief introduction
 
 
  - The daemon listens on `unix:///var/run/docker.sock` but you can
  - The daemon listens on `unix:///var/run/docker.sock` but you can
-   [Bind Docker to another host/port or a Unix socket](../reference/commandline/dockerd.md#bind-docker-to-another-host-port-or-a-unix-socket).
+   [Bind Docker to another host/port or a Unix socket](https://docs.docker.com/engine/reference/commandline/dockerd/#bind-docker-to-another-host-port-or-a-unix-socket).
  - The API tends to be REST. However, for some complex commands, like `attach`
  - The API tends to be REST. However, for some complex commands, like `attach`
    or `pull`, the HTTP connection is hijacked to transport `stdout`,
    or `pull`, the HTTP connection is hijacked to transport `stdout`,
    `stdin` and `stderr`.
    `stdin` and `stderr`.
@@ -1669,7 +1669,7 @@ the path to the alternate build instructions file to use.
 
 
 The archive may include any number of other files,
 The archive may include any number of other files,
 which are accessible in the build context (See the [*ADD build
 which are accessible in the build context (See the [*ADD build
-command*](../reference/builder.md#add)).
+command*](https://docs.docker.com/engine/reference/builder/#add)).
 
 
 The Docker daemon performs a preliminary validation of the `Dockerfile` before
 The Docker daemon performs a preliminary validation of the `Dockerfile` before
 starting the build, and returns an error if the syntax is incorrect. After that,
 starting the build, and returns an error if the syntax is incorrect. After that,
@@ -1707,7 +1707,7 @@ or being killed.
         these values at build-time. Docker uses the `buildargs` as the environment
         these values at build-time. Docker uses the `buildargs` as the environment
         context for command(s) run via the Dockerfile's `RUN` instruction or for
         context for command(s) run via the Dockerfile's `RUN` instruction or for
         variable expansion in other Dockerfile instructions. This is not meant for
         variable expansion in other Dockerfile instructions. This is not meant for
-        passing secret values. [Read more about the buildargs instruction](../reference/builder.md#arg)
+        passing secret values. [Read more about the buildargs instruction](https://docs.docker.com/engine/reference/builder/#arg)
 -   **shmsize** - Size of `/dev/shm` in bytes. The size must be greater than 0.  If omitted the system uses 64MB.
 -   **shmsize** - Size of `/dev/shm` in bytes. The size must be greater than 0.  If omitted the system uses 64MB.
 
 
 **Request Headers**:
 **Request Headers**:

+ 3 - 3
docs/api/v1.23.md

@@ -19,7 +19,7 @@ redirect_from:
 ## 1. Brief introduction
 ## 1. Brief introduction
 
 
  - The daemon listens on `unix:///var/run/docker.sock` but you can
  - The daemon listens on `unix:///var/run/docker.sock` but you can
-   [Bind Docker to another host/port or a Unix socket](../reference/commandline/dockerd.md#bind-docker-to-another-host-port-or-a-unix-socket).
+   [Bind Docker to another host/port or a Unix socket](https://docs.docker.com/engine/reference/commandline/dockerd/#bind-docker-to-another-host-port-or-a-unix-socket).
  - The API tends to be REST. However, for some complex commands, like `attach`
  - The API tends to be REST. However, for some complex commands, like `attach`
    or `pull`, the HTTP connection is hijacked to transport `stdout`,
    or `pull`, the HTTP connection is hijacked to transport `stdout`,
    `stdin` and `stderr`.
    `stdin` and `stderr`.
@@ -1703,7 +1703,7 @@ the path to the alternate build instructions file to use.
 
 
 The archive may include any number of other files,
 The archive may include any number of other files,
 which are accessible in the build context (See the [*ADD build
 which are accessible in the build context (See the [*ADD build
-command*](../reference/builder.md#add)).
+command*](https://docs.docker.com/engine/reference/builder/#add)).
 
 
 The Docker daemon performs a preliminary validation of the `Dockerfile` before
 The Docker daemon performs a preliminary validation of the `Dockerfile` before
 starting the build, and returns an error if the syntax is incorrect. After that,
 starting the build, and returns an error if the syntax is incorrect. After that,
@@ -1741,7 +1741,7 @@ or being killed.
         these values at build-time. Docker uses the `buildargs` as the environment
         these values at build-time. Docker uses the `buildargs` as the environment
         context for command(s) run via the Dockerfile's `RUN` instruction or for
         context for command(s) run via the Dockerfile's `RUN` instruction or for
         variable expansion in other Dockerfile instructions. This is not meant for
         variable expansion in other Dockerfile instructions. This is not meant for
-        passing secret values. [Read more about the buildargs instruction](../reference/builder.md#arg)
+        passing secret values. [Read more about the buildargs instruction](https://docs.docker.com/engine/reference/builder/#arg)
 -   **shmsize** - Size of `/dev/shm` in bytes. The size must be greater than 0.  If omitted the system uses 64MB.
 -   **shmsize** - Size of `/dev/shm` in bytes. The size must be greater than 0.  If omitted the system uses 64MB.
 -   **labels** – JSON map of string pairs for labels to set on the image.
 -   **labels** – JSON map of string pairs for labels to set on the image.
 
 

+ 3 - 3
docs/api/v1.24.md

@@ -19,7 +19,7 @@ redirect_from:
 ## 1. Brief introduction
 ## 1. Brief introduction
 
 
  - The daemon listens on `unix:///var/run/docker.sock` but you can
  - The daemon listens on `unix:///var/run/docker.sock` but you can
-   [Bind Docker to another host/port or a Unix socket](../reference/commandline/dockerd.md#bind-docker-to-another-host-port-or-a-unix-socket).
+   [Bind Docker to another host/port or a Unix socket](https://docs.docker.com/engine/reference/commandline/dockerd/#bind-docker-to-another-host-port-or-a-unix-socket).
  - The API tends to be REST. However, for some complex commands, like `attach`
  - The API tends to be REST. However, for some complex commands, like `attach`
    or `pull`, the HTTP connection is hijacked to transport `stdout`,
    or `pull`, the HTTP connection is hijacked to transport `stdout`,
    `stdin` and `stderr`.
    `stdin` and `stderr`.
@@ -1718,7 +1718,7 @@ the path to the alternate build instructions file to use.
 
 
 The archive may include any number of other files,
 The archive may include any number of other files,
 which are accessible in the build context (See the [*ADD build
 which are accessible in the build context (See the [*ADD build
-command*](../reference/builder.md#add)).
+command*](https://docs.docker.com/engine/reference/builder/#add)).
 
 
 The Docker daemon performs a preliminary validation of the `Dockerfile` before
 The Docker daemon performs a preliminary validation of the `Dockerfile` before
 starting the build, and returns an error if the syntax is incorrect. After that,
 starting the build, and returns an error if the syntax is incorrect. After that,
@@ -1756,7 +1756,7 @@ or being killed.
         these values at build-time. Docker uses the `buildargs` as the environment
         these values at build-time. Docker uses the `buildargs` as the environment
         context for command(s) run via the Dockerfile's `RUN` instruction or for
         context for command(s) run via the Dockerfile's `RUN` instruction or for
         variable expansion in other Dockerfile instructions. This is not meant for
         variable expansion in other Dockerfile instructions. This is not meant for
-        passing secret values. [Read more about the buildargs instruction](../reference/builder.md#arg)
+        passing secret values. [Read more about the buildargs instruction](https://docs.docker.com/engine/reference/builder/#arg)
 -   **shmsize** - Size of `/dev/shm` in bytes. The size must be greater than 0.  If omitted the system uses 64MB.
 -   **shmsize** - Size of `/dev/shm` in bytes. The size must be greater than 0.  If omitted the system uses 64MB.
 -   **labels** – JSON map of string pairs for labels to set on the image.
 -   **labels** – JSON map of string pairs for labels to set on the image.