Skip to content

Commit caf7265

Browse files
committed
docs: update url scheme for reference docs
Signed-off-by: David Karlsson <[email protected]>
1 parent e244044 commit caf7265

21 files changed

Lines changed: 90 additions & 91 deletions

docs/extend/config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ the registry.
5555

5656
- `entrypoint` string array
5757

58-
Entrypoint of the plugin, see [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#entrypoint)
58+
Entrypoint of the plugin, see [`ENTRYPOINT`](https://docs.docker.com/reference/dockerfile/#entrypoint)
5959

6060
- `workdir` string
6161

62-
Working directory of the plugin, see [`WORKDIR`](https://docs.docker.com/engine/reference/builder/#workdir)
62+
Working directory of the plugin, see [`WORKDIR`](https://docs.docker.com/reference/dockerfile/#workdir)
6363

6464
- `network` PluginNetwork
6565

docs/extend/plugins_authorization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Enable the authorization plugin with a dedicated command line flag in the
104104
`--authorization-plugin=PLUGIN_ID` format. The flag supplies a `PLUGIN_ID`
105105
value. This value can be the plugin’s socket or a path to a specification file.
106106
Authorization plugins can be loaded without restarting the daemon. Refer
107-
to the [`dockerd` documentation](../reference/commandline/dockerd.md#configuration-reload-behavior) for more information.
107+
to the [`dockerd` documentation](https://docs.docker.com/reference/cli/dockerd/#configuration-reload-behavior) for more information.
108108

109109
```console
110110
$ dockerd --authorization-plugin=plugin1 --authorization-plugin=plugin2,...

docs/reference/commandline/builder_build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ Build an image from a Dockerfile
4747

4848
## Description
4949

50-
See [docker build](build.md) for more information.
50+
See [docker build](image_build.md) for more information.

docs/reference/commandline/cli.md

Lines changed: 33 additions & 33 deletions
Large diffs are not rendered by default.

docs/reference/commandline/container_attach.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,4 +164,4 @@ the following:
164164

165165
These `a`, `ctrl-a`, `X`, or `ctrl-\\` values are all examples of valid key
166166
sequences. To configure a different configuration default key sequence for all
167-
containers, see [**Configuration file** section](cli.md#configuration-files).
167+
containers, see [**Configuration file** section](https://docs.docker.com/engine/reference/commandline/cli/#configuration-files).

docs/reference/commandline/container_cp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ $ docker cp CONTAINER:/var/logs/app.log - | tar x -O | grep "ERROR"
112112
### Corner cases
113113

114114
It isn't possible to copy certain system files such as resources under
115-
`/proc`, `/sys`, `/dev`, [tmpfs](run.md#tmpfs), and mounts created by
115+
`/proc`, `/sys`, `/dev`, [tmpfs](container_run.md#tmpfs), and mounts created by
116116
the user in the container. However, you can still copy such files by manually
117117
running `tar` in `docker exec`. Both of the following examples do the same thing
118118
in different ways (consider `SRC_PATH` and `DEST_PATH` are directories):

docs/reference/commandline/container_create.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ so that it's ready to start when you need it. The initial status of the
131131
new container is `created`.
132132

133133
The `docker create` command shares most of its options with the `docker run`
134-
command (which performs a `docker create` before starting it). Refer to the
135-
[`docker run` command](run.md) section and the [Docker run reference](../run.md)
134+
command (which performs a `docker create` before starting it).
135+
Refer to the [`docker run` CLI reference](container_run.md)
136136
for details on the available flags and options.
137137

138138
## Examples

docs/reference/commandline/container_run.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ the following:
787787

788788
These `a`, `ctrl-a`, `X`, or `ctrl-\\` values are all examples of valid key
789789
sequences. To configure a different configuration default key sequence for all
790-
containers, see [**Configuration file** section](cli.md#configuration-files).
790+
containers, see [**Configuration file** section](https://docs.docker.com/engine/reference/commandline/cli/#configuration-files).
791791

792792
### <a name="device"></a> Add host device to container (--device)
793793

@@ -888,7 +888,7 @@ This starts an `ubuntu` container with access to the specified CDI device,
888888
on the system running the daemon, in one of the configured CDI specification
889889
directories.
890890
- The CDI feature has been enabled on the daemon side, see [Enable CDI
891-
devices](dockerd.md#enable-cdi-devices).
891+
devices](https://docs.docker.com/reference/cli/dockerd/#enable-cdi-devices).
892892

893893
### <a name="attach"></a> Attach to STDIN/STDOUT/STDERR (-a, --attach)
894894

@@ -1306,7 +1306,7 @@ container to exit. This signal can be a signal name in the format `SIG<NAME>`,
13061306
for instance `SIGKILL`, or an unsigned number that matches a position in the
13071307
kernel's syscall table, for instance `9`.
13081308

1309-
The default value is defined by [`STOPSIGNAL`](https://docs.docker.com/engine/reference/builder/#stopsignal)
1309+
The default value is defined by [`STOPSIGNAL`](https://docs.docker.com/reference/dockerfile/#stopsignal)
13101310
in the image, or `SIGTERM` if the image has no `STOPSIGNAL` defined.
13111311

13121312
### <a name="security-opt"></a> Optional security options (--security-opt)

docs/reference/commandline/image_build.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Build an image from a Dockerfile
5050
The `docker build` command builds Docker images from a Dockerfile and a
5151
"context". A build's context is the set of files located in the specified
5252
`PATH` or `URL`. The build process can refer to any of the files in the
53-
context. For example, your build can use a [*COPY*](https://docs.docker.com/engine/reference/builder/#copy)
53+
context. For example, your build can use a [*COPY*](https://docs.docker.com/reference/dockerfile/#copy)
5454
instruction to reference a file in the context.
5555

5656
The `URL` parameter can refer to three kinds of resources: Git repositories,
@@ -144,7 +144,7 @@ In most cases, it's best to put each Dockerfile in an empty directory. Then,
144144
add to that directory only the files needed for building the Dockerfile. To
145145
increase the build's performance, you can exclude files and directories by
146146
adding a `.dockerignore` file to that directory as well. For information on
147-
creating one, see the [.dockerignore file](https://docs.docker.com/engine/reference/builder/#dockerignore-file).
147+
creating one, see the [.dockerignore file](https://docs.docker.com/reference/dockerfile/#dockerignore-file).
148148

149149
If the Docker client loses connection to the daemon, it cancels the build.
150150
This happens if you interrupt the Docker client with `CTRL-c` or if the Docker
@@ -172,7 +172,7 @@ $ echo $?
172172

173173
See also:
174174

175-
[*Dockerfile Reference*](https://docs.docker.com/engine/reference/builder/).
175+
[*Dockerfile Reference*](https://docs.docker.com/reference/dockerfile/).
176176

177177
## Examples
178178

@@ -213,7 +213,7 @@ where to find the files for the "context" of the build on the Docker daemon.
213213
Remember that the daemon could be running on a remote machine and that no
214214
parsing of the Dockerfile happens at the client side (where you're running
215215
`docker build`). That means that all the files at `PATH` are sent, not just
216-
the ones listed to [`ADD`](https://docs.docker.com/engine/reference/builder/#add)
216+
the ones listed to [`ADD`](https://docs.docker.com/reference/dockerfile/#add)
217217
in the Dockerfile.
218218

219219
The transfer of context from the local machine to the Docker daemon is what the
@@ -302,7 +302,7 @@ Successfully built 99cc1ad10469
302302
This example shows the use of the `.dockerignore` file to exclude the `.git`
303303
directory from the context. You can see its effect in the changed size of the
304304
uploaded context. The builder reference contains detailed information on
305-
[creating a .dockerignore file](https://docs.docker.com/engine/reference/builder/#dockerignore-file).
305+
[creating a .dockerignore file](https://docs.docker.com/reference/dockerfile/#dockerignore-file).
306306

307307
When using the [BuildKit backend](https://docs.docker.com/build/buildkit/),
308308
`docker build` searches for a `.dockerignore` file relative to the Dockerfile
@@ -384,12 +384,12 @@ the command line.
384384
### <a name="cgroup-parent"></a> Use a custom parent cgroup (--cgroup-parent)
385385

386386
When you run `docker build` with the `--cgroup-parent` option, the daemon runs the containers
387-
used in the build with the [corresponding `docker run` flag](../run.md#specify-custom-cgroups).
387+
used in the build with the [corresponding `docker run` flag](container_run.md#cgroup-parent).
388388

389389
### <a name="ulimit"></a> Set ulimits in container (--ulimit)
390390

391391
Using the `--ulimit` option with `docker build` causes the daemon to start each build step's
392-
container using those [`--ulimit` flag values](run.md#ulimit).
392+
container using those [`--ulimit` flag values](container_run.md#ulimit).
393393

394394
### <a name="build-arg"></a> Set build-time variables (--build-arg)
395395

@@ -415,7 +415,7 @@ Using this flag doesn't alter the output you see when the build process echoes t
415415
Dockerfile.
416416

417417
For detailed information on using `ARG` and `ENV` instructions, see the
418-
[Dockerfile reference](https://docs.docker.com/engine/reference/builder/).
418+
[Dockerfile reference](https://docs.docker.com/reference/dockerfile/).
419419

420420
You can also use the `--build-arg` flag without a value, in which case the daemon
421421
propagates the value from the local environment into the Docker container it's building:
@@ -425,7 +425,7 @@ $ export HTTP_PROXY=http://10.20.30.2:1234
425425
$ docker build --build-arg HTTP_PROXY .
426426
```
427427

428-
This example is similar to how `docker run -e` works. Refer to the [`docker run` documentation](run.md#env)
428+
This example is similar to how `docker run -e` works. Refer to the [`docker run` documentation](container_run.md#env)
429429
for more information.
430430

431431
### <a name="security-opt"></a> Optional security options (--security-opt)
@@ -553,7 +553,7 @@ $ docker build -o - . > out.tar
553553

554554
The `--output` option exports all files from the target stage. A common pattern
555555
for exporting only specific files is to do multi-stage builds and to copy the
556-
desired files to a new scratch stage with [`COPY --from`](https://docs.docker.com/engine/reference/builder/#copy).
556+
desired files to a new scratch stage with [`COPY --from`](https://docs.docker.com/reference/dockerfile/#copy).
557557

558558
The example, the `Dockerfile` below uses a separate stage to collect the
559559
build artifacts for exporting:
@@ -642,7 +642,7 @@ Available options for the networking mode are:
642642
- `none`: Run with no network access.
643643
- `host`: Run in the host’s network environment.
644644

645-
Find more details in the [Dockerfile documentation](https://docs.docker.com/engine/reference/builder/#run---network).
645+
Find more details in the [Dockerfile documentation](https://docs.docker.com/reference/dockerfile/#run---network).
646646

647647
### <a name="squash"></a> Squash an image's layers (--squash) (experimental)
648648

docs/reference/commandline/image_pull.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ use `docker pull`.
3434

3535
If you are behind an HTTP proxy server, for example in corporate settings,
3636
before open a connect to registry, you may need to configure the Docker
37-
daemon's proxy settings, refer to the [dockerd command-line reference](dockerd.md#proxy-configuration)
37+
daemon's proxy settings, refer to the [dockerd command-line reference](https://docs.docker.com/reference/cli/dockerd/#proxy-configuration)
3838
for details.
3939

4040
### Concurrent downloads
4141

4242
By default the Docker daemon will pull three layers of an image at a time.
4343
If you are on a low bandwidth connection this may cause timeout issues and you may want to lower
4444
this via the `--max-concurrent-downloads` daemon option. See the
45-
[daemon documentation](dockerd.md) for more details.
45+
[daemon documentation](https://docs.docker.com/reference/cli/dockerd/) for more details.
4646

4747
## Examples
4848

@@ -184,7 +184,7 @@ Registry credentials are managed by [docker login](login.md).
184184

185185
Docker uses the `https://` protocol to communicate with a registry, unless the
186186
registry is allowed to be accessed over an insecure connection. Refer to the
187-
[insecure registries](dockerd.md#insecure-registries) section for more information.
187+
[insecure registries](https://docs.docker.com/reference/cli/dockerd/#insecure-registries) section for more information.
188188

189189

190190
### <a name="all-tags"></a> Pull a repository with multiple images (-a, --all-tags)

0 commit comments

Comments
 (0)