Skip to content

Commit 5fad7bb

Browse files
thaJeztahnosamad
authored andcommitted
Update documentation links
- Using "/go/" redirects for some topics, which allows us to redirect to new locations if topics are moved around in the documentation. - Updated some old URLs to their new location. Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit 328de0b) Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent f3ef3f6 commit 5fad7bb

20 files changed

+22
-22
lines changed

client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Package client is a Go client for the Docker Engine API.
33
44
For more information about the Engine API, see the documentation:
5-
https://docs.docker.com/engine/reference/api/
5+
https://docs.docker.com/engine/api/
66
77
Usage
88

contrib/dockerd-rootless-setuptool.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Typical usage: dockerd-rootless-setuptool.sh install --force
66
#
7-
# Documentation: https://docs.docker.com/engine/security/rootless/
7+
# Documentation: https://docs.docker.com/go/rootless/
88
set -eu
99

1010
# utility functions
@@ -290,7 +290,7 @@ install_systemd() {
290290
cat <<- EOT > "${unit_file}"
291291
[Unit]
292292
Description=Docker Application Container Engine (Rootless)
293-
Documentation=https://docs.docker.com/engine/security/rootless/
293+
Documentation=https://docs.docker.com/go/rootless/
294294
295295
[Service]
296296
Environment=PATH=$BIN:/sbin:/usr/sbin:$PATH
@@ -400,7 +400,7 @@ usage() {
400400
echo
401401
echo "A setup tool for Rootless Docker (${DOCKERD_ROOTLESS_SH})."
402402
echo
403-
echo "Documentation: https://docs.docker.com/engine/security/rootless/"
403+
echo "Documentation: https://docs.docker.com/go/rootless/"
404404
echo
405405
echo "Options:"
406406
echo " -f, --force Ignore rootful Docker (/var/run/docker.sock)"

contrib/dockerd-rootless.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# * DOCKERD_ROOTLESS_ROOTLESSKIT_SLIRP4NETNS_SANDBOX=(auto|true|false): whether to protect slirp4netns with a dedicated mount namespace. Defaults to "auto".
1616
# * DOCKERD_ROOTLESS_ROOTLESSKIT_SLIRP4NETNS_SECCOMP=(auto|true|false): whether to protect slirp4netns with seccomp. Defaults to "auto".
1717
#
18-
# See the documentation for the further information: https://docs.docker.com/engine/security/rootless/
18+
# See the documentation for the further information: https://docs.docker.com/go/rootless/
1919

2020
set -e -x
2121
case "$1" in

daemon/info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ func (daemon *Daemon) fillAPIInfo(v *types.Info) {
209209
const warn string = `
210210
Access to the remote API is equivalent to root access on the host. Refer
211211
to the 'Docker daemon attack surface' section in the documentation for
212-
more information: https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface`
212+
more information: https://docs.docker.com/go/attack-surface/`
213213

214214
cfg := daemon.configStore
215215
for _, host := range cfg.Hosts {

docs/api/v1.25.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ tags:
105105
- name: "Network"
106106
x-displayName: "Networks"
107107
description: |
108-
Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/engine/userguide/networking/) for more information.
108+
Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
109109
- name: "Volume"
110110
x-displayName: "Volumes"
111111
description: |

docs/api/v1.26.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ tags:
106106
- name: "Network"
107107
x-displayName: "Networks"
108108
description: |
109-
Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/engine/userguide/networking/) for more information.
109+
Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
110110
- name: "Volume"
111111
x-displayName: "Volumes"
112112
description: |

docs/api/v1.27.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ tags:
107107
- name: "Network"
108108
x-displayName: "Networks"
109109
description: |
110-
Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/engine/userguide/networking/) for more information.
110+
Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
111111
- name: "Volume"
112112
x-displayName: "Volumes"
113113
description: |

docs/api/v1.28.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ tags:
108108
- name: "Network"
109109
x-displayName: "Networks"
110110
description: |
111-
Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/engine/userguide/networking/) for more information.
111+
Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
112112
- name: "Volume"
113113
x-displayName: "Volumes"
114114
description: |

docs/api/v1.29.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ tags:
109109
- name: "Network"
110110
x-displayName: "Networks"
111111
description: |
112-
Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/engine/userguide/networking/) for more information.
112+
Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
113113
- name: "Volume"
114114
x-displayName: "Volumes"
115115
description: |

docs/api/v1.30.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ tags:
110110
- name: "Network"
111111
x-displayName: "Networks"
112112
description: |
113-
Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/engine/userguide/networking/) for more information.
113+
Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
114114
- name: "Volume"
115115
x-displayName: "Volumes"
116116
description: |

0 commit comments

Comments
 (0)