[20.10 backport] Update documentation links
| ... | ... |
@@ -4,7 +4,7 @@ |
| 4 | 4 |
# |
| 5 | 5 |
# Typical usage: dockerd-rootless-setuptool.sh install --force |
| 6 | 6 |
# |
| 7 |
-# Documentation: https://docs.docker.com/engine/security/rootless/ |
|
| 7 |
+# Documentation: https://docs.docker.com/go/rootless/ |
|
| 8 | 8 |
set -eu |
| 9 | 9 |
|
| 10 | 10 |
# utility functions |
| ... | ... |
@@ -290,7 +290,7 @@ install_systemd() {
|
| 290 | 290 |
cat <<- EOT > "${unit_file}"
|
| 291 | 291 |
[Unit] |
| 292 | 292 |
Description=Docker Application Container Engine (Rootless) |
| 293 |
- Documentation=https://docs.docker.com/engine/security/rootless/ |
|
| 293 |
+ Documentation=https://docs.docker.com/go/rootless/ |
|
| 294 | 294 |
|
| 295 | 295 |
[Service] |
| 296 | 296 |
Environment=PATH=$BIN:/sbin:/usr/sbin:$PATH |
| ... | ... |
@@ -400,7 +400,7 @@ usage() {
|
| 400 | 400 |
echo |
| 401 | 401 |
echo "A setup tool for Rootless Docker (${DOCKERD_ROOTLESS_SH})."
|
| 402 | 402 |
echo |
| 403 |
- echo "Documentation: https://docs.docker.com/engine/security/rootless/" |
|
| 403 |
+ echo "Documentation: https://docs.docker.com/go/rootless/" |
|
| 404 | 404 |
echo |
| 405 | 405 |
echo "Options:" |
| 406 | 406 |
echo " -f, --force Ignore rootful Docker (/var/run/docker.sock)" |
| ... | ... |
@@ -15,7 +15,7 @@ |
| 15 | 15 |
# * DOCKERD_ROOTLESS_ROOTLESSKIT_SLIRP4NETNS_SANDBOX=(auto|true|false): whether to protect slirp4netns with a dedicated mount namespace. Defaults to "auto". |
| 16 | 16 |
# * DOCKERD_ROOTLESS_ROOTLESSKIT_SLIRP4NETNS_SECCOMP=(auto|true|false): whether to protect slirp4netns with seccomp. Defaults to "auto". |
| 17 | 17 |
# |
| 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/ |
|
| 19 | 19 |
|
| 20 | 20 |
set -e -x |
| 21 | 21 |
case "$1" in |
| ... | ... |
@@ -209,7 +209,7 @@ func (daemon *Daemon) fillAPIInfo(v *types.Info) {
|
| 209 | 209 |
const warn string = ` |
| 210 | 210 |
Access to the remote API is equivalent to root access on the host. Refer |
| 211 | 211 |
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/` |
|
| 213 | 213 |
|
| 214 | 214 |
cfg := daemon.configStore |
| 215 | 215 |
for _, host := range cfg.Hosts {
|
| ... | ... |
@@ -105,7 +105,7 @@ tags: |
| 105 | 105 |
- name: "Network" |
| 106 | 106 |
x-displayName: "Networks" |
| 107 | 107 |
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. |
|
| 109 | 109 |
- name: "Volume" |
| 110 | 110 |
x-displayName: "Volumes" |
| 111 | 111 |
description: | |
| ... | ... |
@@ -106,7 +106,7 @@ tags: |
| 106 | 106 |
- name: "Network" |
| 107 | 107 |
x-displayName: "Networks" |
| 108 | 108 |
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. |
|
| 110 | 110 |
- name: "Volume" |
| 111 | 111 |
x-displayName: "Volumes" |
| 112 | 112 |
description: | |
| ... | ... |
@@ -107,7 +107,7 @@ tags: |
| 107 | 107 |
- name: "Network" |
| 108 | 108 |
x-displayName: "Networks" |
| 109 | 109 |
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. |
|
| 111 | 111 |
- name: "Volume" |
| 112 | 112 |
x-displayName: "Volumes" |
| 113 | 113 |
description: | |
| ... | ... |
@@ -108,7 +108,7 @@ tags: |
| 108 | 108 |
- name: "Network" |
| 109 | 109 |
x-displayName: "Networks" |
| 110 | 110 |
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. |
|
| 112 | 112 |
- name: "Volume" |
| 113 | 113 |
x-displayName: "Volumes" |
| 114 | 114 |
description: | |
| ... | ... |
@@ -109,7 +109,7 @@ tags: |
| 109 | 109 |
- name: "Network" |
| 110 | 110 |
x-displayName: "Networks" |
| 111 | 111 |
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. |
|
| 113 | 113 |
- name: "Volume" |
| 114 | 114 |
x-displayName: "Volumes" |
| 115 | 115 |
description: | |
| ... | ... |
@@ -110,7 +110,7 @@ tags: |
| 110 | 110 |
- name: "Network" |
| 111 | 111 |
x-displayName: "Networks" |
| 112 | 112 |
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. |
|
| 114 | 114 |
- name: "Volume" |
| 115 | 115 |
x-displayName: "Volumes" |
| 116 | 116 |
description: | |
| ... | ... |
@@ -111,7 +111,7 @@ tags: |
| 111 | 111 |
- name: "Network" |
| 112 | 112 |
x-displayName: "Networks" |
| 113 | 113 |
description: | |
| 114 |
- 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. |
|
| 114 |
+ Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information. |
|
| 115 | 115 |
- name: "Volume" |
| 116 | 116 |
x-displayName: "Volumes" |
| 117 | 117 |
description: | |
| ... | ... |
@@ -112,7 +112,7 @@ tags: |
| 112 | 112 |
- name: "Network" |
| 113 | 113 |
x-displayName: "Networks" |
| 114 | 114 |
description: | |
| 115 |
- 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. |
|
| 115 |
+ Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information. |
|
| 116 | 116 |
- name: "Volume" |
| 117 | 117 |
x-displayName: "Volumes" |
| 118 | 118 |
description: | |
| ... | ... |
@@ -113,7 +113,7 @@ tags: |
| 113 | 113 |
- name: "Network" |
| 114 | 114 |
x-displayName: "Networks" |
| 115 | 115 |
description: | |
| 116 |
- 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. |
|
| 116 |
+ Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information. |
|
| 117 | 117 |
- name: "Volume" |
| 118 | 118 |
x-displayName: "Volumes" |
| 119 | 119 |
description: | |
| ... | ... |
@@ -116,7 +116,7 @@ tags: |
| 116 | 116 |
- name: "Network" |
| 117 | 117 |
x-displayName: "Networks" |
| 118 | 118 |
description: | |
| 119 |
- 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. |
|
| 119 |
+ Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information. |
|
| 120 | 120 |
- name: "Volume" |
| 121 | 121 |
x-displayName: "Volumes" |
| 122 | 122 |
description: | |
| ... | ... |
@@ -104,7 +104,7 @@ tags: |
| 104 | 104 |
- name: "Network" |
| 105 | 105 |
x-displayName: "Networks" |
| 106 | 106 |
description: | |
| 107 |
- 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. |
|
| 107 |
+ Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information. |
|
| 108 | 108 |
- name: "Volume" |
| 109 | 109 |
x-displayName: "Volumes" |
| 110 | 110 |
description: | |
| ... | ... |
@@ -104,7 +104,7 @@ tags: |
| 104 | 104 |
- name: "Network" |
| 105 | 105 |
x-displayName: "Networks" |
| 106 | 106 |
description: | |
| 107 |
- 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. |
|
| 107 |
+ Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information. |
|
| 108 | 108 |
- name: "Volume" |
| 109 | 109 |
x-displayName: "Volumes" |
| 110 | 110 |
description: | |
| ... | ... |
@@ -104,7 +104,7 @@ tags: |
| 104 | 104 |
- name: "Network" |
| 105 | 105 |
x-displayName: "Networks" |
| 106 | 106 |
description: | |
| 107 |
- 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. |
|
| 107 |
+ Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information. |
|
| 108 | 108 |
- name: "Volume" |
| 109 | 109 |
x-displayName: "Volumes" |
| 110 | 110 |
description: | |
| ... | ... |
@@ -104,7 +104,7 @@ tags: |
| 104 | 104 |
- name: "Network" |
| 105 | 105 |
x-displayName: "Networks" |
| 106 | 106 |
description: | |
| 107 |
- 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. |
|
| 107 |
+ Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information. |
|
| 108 | 108 |
- name: "Volume" |
| 109 | 109 |
x-displayName: "Volumes" |
| 110 | 110 |
description: | |
| ... | ... |
@@ -21,7 +21,7 @@ const maxBodySize = 1048576 // 1MB |
| 21 | 21 |
// Authenticate Request: |
| 22 | 22 |
// Call authZ plugins with current REST request and AuthN response |
| 23 | 23 |
// Request contains full HTTP packet sent to the docker daemon |
| 24 |
-// https://docs.docker.com/engine/reference/api/ |
|
| 24 |
+// https://docs.docker.com/engine/api/ |
|
| 25 | 25 |
// |
| 26 | 26 |
// Authenticate Response: |
| 27 | 27 |
// Call authZ plugins with full info about current REST request, REST response and AuthN response |