Skip to content

Commit 33573e2

Browse files
authored
Merge pull request #5343 from dvdksn/cp-docs-manuals-refactor-linkfix
[27.x backport] cherry-pick doc linkfixes due to refactor
2 parents f62c68e + 73452e3 commit 33573e2

9 files changed

+21
-21
lines changed

docs/reference/commandline/container_export.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ with the container. If a volume is mounted on top of an existing directory in
2323
the container, `docker export` exports the contents of the underlying
2424
directory, not the contents of the volume.
2525

26-
Refer to [Backup, restore, or migrate data volumes](https://docs.docker.com/storage/volumes/#back-up-restore-or-migrate-data-volumes)
26+
Refer to [Backup, restore, or migrate data volumes](https://docs.docker.com/engine/storage/volumes/#back-up-restore-or-migrate-data-volumes)
2727
in the user guide for examples on exporting data in a volume.
2828

2929
## Examples

docs/reference/commandline/container_logs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Fetch the logs of a container
2626
The `docker logs` command batch-retrieves logs present at the time of execution.
2727

2828
For more information about selecting and configuring logging drivers, refer to
29-
[Configure logging drivers](https://docs.docker.com/config/containers/logging/configure/).
29+
[Configure logging drivers](https://docs.docker.com/engine/logging/configure/).
3030

3131
The `docker logs --follow` command will continue streaming the new output from
3232
the container's `STDOUT` and `STDERR`.

docs/reference/commandline/container_ls.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ e90b8831a4b8 nginx "/bin/bash -c 'mkdir " 11 weeks ago Up 4 hours
6464
* The "size" information shows the amount of data (on disk) that is used for the _writable_ layer of each container
6565
* The "virtual size" is the total amount of disk-space used for the read-only _image_ data used by the container and the writable layer.
6666

67-
For more information, refer to the [container size on disk](https://docs.docker.com/storage/storagedriver/#container-size-on-disk) section.
67+
For more information, refer to the [container size on disk](https://docs.docker.com/engine/storage/drivers/#container-size-on-disk) section.
6868

6969

7070
### <a name="filter"></a> Filtering (--filter)

docs/reference/commandline/container_run.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ Docker.
363363
> for example by adding individual kernel capabilities with `--cap-add`.
364364
>
365365
> For more information, see
366-
> [Runtime privilege and Linux capabilities](https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities)
366+
> [Runtime privilege and Linux capabilities](https://docs.docker.com/engine/containers/run/#runtime-privilege-and-linux-capabilities)
367367
{ .warning }
368368

369369
The following example doesn't work, because by default, Docker drops most
@@ -1322,7 +1322,7 @@ the `--log-driver=<DRIVER>` with the `docker run` command to configure the
13221322
container's logging driver.
13231323

13241324
To learn about the supported logging drivers and how to use them, refer to
1325-
[Configure logging drivers](https://docs.docker.com/config/containers/logging/configure/).
1325+
[Configure logging drivers](https://docs.docker.com/engine/logging/configure/).
13261326

13271327
To disable logging for a container, set the `--log-driver` flag to `none`:
13281328

docs/reference/commandline/docker.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,8 @@ be set for each environment:
321321

322322
These settings are used to configure proxy settings for containers only, and not
323323
used as proxy settings for the `docker` CLI or the `dockerd` daemon. Refer to the
324-
[environment variables](#environment-variables) and [HTTP/HTTPS proxy](https://docs.docker.com/config/daemon/systemd/#httphttps-proxy)
325-
sections for configuring proxy settings for the cli and daemon.
324+
[environment variables](#environment-variables) and [HTTP/HTTPS proxy](https://docs.docker.com/engine/daemon/proxy/#httphttps-proxy)
325+
sections for configuring proxy settings for the CLI and daemon.
326326

327327
> **Warning**
328328
>

docs/reference/commandline/image_pull.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ the same image tagged with different names. Because they are the same image,
9999
their layers are stored only once and do not consume extra disk space.
100100

101101
For more information about images, layers, and the content-addressable store,
102-
refer to [understand images, containers, and storage drivers](https://docs.docker.com/storage/storagedriver/).
102+
refer to [understand images, containers, and storage drivers](https://docs.docker.com/engine/storage/drivers/).
103103

104104

105105
### Pull an image by digest (immutable identifier)

docs/reference/commandline/service_create.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ $ docker service create \
941941
The swarm extends my-network to each node running the service.
942942

943943
Containers on the same network can access each other using
944-
[service discovery](https://docs.docker.com/network/drivers/overlay/#container-discovery).
944+
[service discovery](https://docs.docker.com/engine/network/drivers/overlay/#container-discovery).
945945

946946
Long form syntax of `--network` allows to specify list of aliases and driver options:
947947
`--network name=my-network,alias=web1,driver-opt=field1=value1`

docs/reference/commandline/service_logs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ display logs from that particular task.
4242
> the `json-file` or `journald` logging driver.
4343
4444
For more information about selecting and configuring logging drivers, refer to
45-
[Configure logging drivers](https://docs.docker.com/config/containers/logging/configure/).
45+
[Configure logging drivers](https://docs.docker.com/engine/logging/configure/).
4646

4747
The `docker service logs --follow` command will continue streaming the new output from
4848
the service's `STDOUT` and `STDERR`.

docs/reference/dockerd.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ to [the `daemon.json` file](#daemon-configuration-file).
133133

134134
The following list of environment variables are supported by the `dockerd` daemon.
135135
Some of these environment variables are supported both by the Docker Daemon and
136-
the `docker` CLI. Refer to [Environment variables](https://docs.docker.com/engine/reference/commandline/cli/#environment-variables)
136+
the `docker` CLI. Refer to [Environment variables](https://docs.docker.com/reference/cli/docker/#environment-variables)
137137
to learn about environment variables supported by the `docker` CLI.
138138

139139
| Variable | Description |
@@ -169,7 +169,7 @@ in three ways:
169169
options. (Docker Engine version 23.0 or later).
170170

171171
The command-line and configuration file options take precedence over environment
172-
variables. Refer to [control and configure Docker with systemd](https://docs.docker.com/config/daemon/systemd/#httphttps-proxy)
172+
variables. Refer to [control and configure Docker with systemd](https://docs.docker.com/engine/daemon/proxy/)
173173
to set these environment variables on a host using `systemd`.
174174

175175
### Daemon socket option
@@ -332,7 +332,7 @@ drivers: `overlay2`, `fuse-overlayfs`, `btrfs`, and `zfs`.
332332
and is selected by default. Unless users have a strong reason to prefer another storage driver,
333333
`overlay2` should be used.
334334

335-
You can find out more about storage drivers and how to select one in [Select a storage driver](https://docs.docker.com/storage/storagedriver/select-storage-driver/).
335+
You can find out more about storage drivers and how to select one in [Select a storage driver](https://docs.docker.com/engine/storage/drivers/select-storage-driver/).
336336

337337
On Windows, the Docker daemon only supports the `windowsfilter` storage driver.
338338

@@ -424,7 +424,7 @@ installed outside of `PATH`, must be registered with the daemon, either via the
424424
configuration file or using the `--add-runtime` command line flag.
425425

426426
For examples on how to use other container runtimes, see
427-
[Alternative container runtimes](https://docs.docker.com/engine/alternative-runtimes/)
427+
[Alternative container runtimes](https://docs.docker.com/engine/daemon/alternative-runtimes/)
428428

429429
##### Configure runtimes using `daemon.json`
430430

@@ -609,7 +609,7 @@ $ sudo dockerd --add-runtime <runtime>=<path>
609609
Defining runtime arguments via the command line is not supported.
610610

611611
For an example configuration for a runc drop-in replacment, see
612-
[Alternative container runtimes > youki](https://docs.docker.com/engine/alternative-runtimes/#youki)
612+
[Alternative container runtimes > youki](https://docs.docker.com/engine/daemon/alternative-runtimes/#youki)
613613

614614
##### Configure the default container runtime
615615

@@ -783,7 +783,7 @@ Docker host's configuration:
783783

784784
This only adds the proxy and authentication to the Docker daemon's requests.
785785
To use the proxy when building images and running containers, see
786-
[Configure Docker to use a proxy server](https://docs.docker.com/network/proxy/)
786+
[Configure Docker to use a proxy server](https://docs.docker.com/engine/cli/proxy/)
787787

788788
### Default `ulimit` settings
789789

@@ -952,7 +952,7 @@ to avoid collisions with other Prometheus exporters and services.
952952

953953
If you are running a Prometheus server you can add this address to your scrape configs
954954
to have Prometheus collect metrics on Docker. For more information, see
955-
[Collect Docker metrics with Prometheus](https://docs.docker.com/config/daemon/prometheus/).
955+
[Collect Docker metrics with Prometheus](https://docs.docker.com/engine/daemon/prometheus/).
956956

957957
#### Node generic resources
958958

@@ -1151,7 +1151,7 @@ The following is a full example of the allowed configuration options on Linux:
11511151
> daemon startup as a flag.
11521152
> On systems that use systemd to start the Docker daemon, `-H` is already set, so
11531153
> you can't use the `hosts` key in `daemon.json` to add listening addresses.
1154-
> See [custom Docker daemon options](https://docs.docker.com/config/daemon/systemd/#custom-docker-daemon-options)
1154+
> See [custom Docker daemon options](https://docs.docker.com/engine/daemon/proxy/#systemd-unit-file)
11551155
> for an example on how to configure the daemon using systemd drop-in files.
11561156
11571157
##### On Windows
@@ -1234,7 +1234,7 @@ The list of feature options include:
12341234
- `containerd-snapshotter`: when set to `true`, the daemon uses containerd
12351235
snapshotters instead of the classic storage drivers for storing image and
12361236
container data. For more information, see
1237-
[containerd storage](https://docs.docker.com/storage/containerd/).
1237+
[containerd storage](https://docs.docker.com/engine/storage/containerd/).
12381238
- `windows-dns-proxy`: when set to `true`, the daemon's internal DNS resolver
12391239
will forward requests to external servers. Without this, most applications
12401240
running in the container will still be able to use secondary DNS servers
@@ -1260,7 +1260,7 @@ The list of currently supported options that can be reconfigured is this:
12601260
| ---------------------------------- | ----------------------------------------------------------------------------------------------------------- |
12611261
| `debug` | Toggles debug mode of the daemon. |
12621262
| `labels` | Replaces the daemon labels with a new set of labels. |
1263-
| `live-restore` | Toggles [live restore](https://docs.docker.com/config/containers/live-restore/). |
1263+
| `live-restore` | Toggles [live restore](https://docs.docker.com/engine/containers/live-restore/). |
12641264
| `max-concurrent-downloads` | Configures the max concurrent downloads for each pull. |
12651265
| `max-concurrent-uploads` | Configures the max concurrent uploads for each push. |
12661266
| `max-download-attempts` | Configures the max download attempts for each pull. |
@@ -1362,7 +1362,7 @@ using the `daemon.json` file.
13621362
```
13631363

13641364
This example uses the `bridge` network driver. Refer to the
1365-
[bridge network driver page](https://docs.docker.com/network/drivers/bridge/#options)
1365+
[bridge network driver page](https://docs.docker.com/engine/network/drivers/bridge/#options)
13661366
for an overview of available driver options.
13671367

13681368
After changing the configuration and restarting the daemon, new networks that

0 commit comments

Comments
 (0)