mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	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 <github@gone.nl>
This commit is contained in:
		
							parent
							
								
									3c9b4a63b5
								
							
						
					
					
						commit
						328de0b8d9
					
				
					 20 changed files with 22 additions and 22 deletions
				
			
		| 
						 | 
				
			
			@ -2,7 +2,7 @@
 | 
			
		|||
Package client is a Go client for the Docker Engine API.
 | 
			
		||||
 | 
			
		||||
For more information about the Engine API, see the documentation:
 | 
			
		||||
https://docs.docker.com/engine/reference/api/
 | 
			
		||||
https://docs.docker.com/engine/api/
 | 
			
		||||
 | 
			
		||||
Usage
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
#
 | 
			
		||||
# Typical usage: dockerd-rootless-setuptool.sh install --force
 | 
			
		||||
#
 | 
			
		||||
# Documentation: https://docs.docker.com/engine/security/rootless/
 | 
			
		||||
# Documentation: https://docs.docker.com/go/rootless/
 | 
			
		||||
set -eu
 | 
			
		||||
 | 
			
		||||
# utility functions
 | 
			
		||||
| 
						 | 
				
			
			@ -290,7 +290,7 @@ install_systemd() {
 | 
			
		|||
		cat <<- EOT > "${unit_file}"
 | 
			
		||||
			[Unit]
 | 
			
		||||
			Description=Docker Application Container Engine (Rootless)
 | 
			
		||||
			Documentation=https://docs.docker.com/engine/security/rootless/
 | 
			
		||||
			Documentation=https://docs.docker.com/go/rootless/
 | 
			
		||||
 | 
			
		||||
			[Service]
 | 
			
		||||
			Environment=PATH=$BIN:/sbin:/usr/sbin:$PATH
 | 
			
		||||
| 
						 | 
				
			
			@ -400,7 +400,7 @@ usage() {
 | 
			
		|||
	echo
 | 
			
		||||
	echo "A setup tool for Rootless Docker (${DOCKERD_ROOTLESS_SH})."
 | 
			
		||||
	echo
 | 
			
		||||
	echo "Documentation: https://docs.docker.com/engine/security/rootless/"
 | 
			
		||||
	echo "Documentation: https://docs.docker.com/go/rootless/"
 | 
			
		||||
	echo
 | 
			
		||||
	echo "Options:"
 | 
			
		||||
	echo "  -f, --force                Ignore rootful Docker (/var/run/docker.sock)"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,7 +15,7 @@
 | 
			
		|||
# * DOCKERD_ROOTLESS_ROOTLESSKIT_SLIRP4NETNS_SANDBOX=(auto|true|false): whether to protect slirp4netns with a dedicated mount namespace. Defaults to "auto".
 | 
			
		||||
# * DOCKERD_ROOTLESS_ROOTLESSKIT_SLIRP4NETNS_SECCOMP=(auto|true|false): whether to protect slirp4netns with seccomp. Defaults to "auto".
 | 
			
		||||
#
 | 
			
		||||
# See the documentation for the further information: https://docs.docker.com/engine/security/rootless/
 | 
			
		||||
# See the documentation for the further information: https://docs.docker.com/go/rootless/
 | 
			
		||||
 | 
			
		||||
set -e -x
 | 
			
		||||
case "$1" in
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -209,7 +209,7 @@ func (daemon *Daemon) fillAPIInfo(v *types.Info) {
 | 
			
		|||
	const warn string = `
 | 
			
		||||
         Access to the remote API is equivalent to root access on the host. Refer
 | 
			
		||||
         to the 'Docker daemon attack surface' section in the documentation for
 | 
			
		||||
         more information: https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface`
 | 
			
		||||
         more information: https://docs.docker.com/go/attack-surface/`
 | 
			
		||||
 | 
			
		||||
	cfg := daemon.configStore
 | 
			
		||||
	for _, host := range cfg.Hosts {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -105,7 +105,7 @@ tags:
 | 
			
		|||
  - name: "Network"
 | 
			
		||||
    x-displayName: "Networks"
 | 
			
		||||
    description: |
 | 
			
		||||
      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.
 | 
			
		||||
      Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
 | 
			
		||||
  - name: "Volume"
 | 
			
		||||
    x-displayName: "Volumes"
 | 
			
		||||
    description: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -106,7 +106,7 @@ tags:
 | 
			
		|||
  - name: "Network"
 | 
			
		||||
    x-displayName: "Networks"
 | 
			
		||||
    description: |
 | 
			
		||||
      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.
 | 
			
		||||
      Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
 | 
			
		||||
  - name: "Volume"
 | 
			
		||||
    x-displayName: "Volumes"
 | 
			
		||||
    description: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -107,7 +107,7 @@ tags:
 | 
			
		|||
  - name: "Network"
 | 
			
		||||
    x-displayName: "Networks"
 | 
			
		||||
    description: |
 | 
			
		||||
      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.
 | 
			
		||||
      Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
 | 
			
		||||
  - name: "Volume"
 | 
			
		||||
    x-displayName: "Volumes"
 | 
			
		||||
    description: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -108,7 +108,7 @@ tags:
 | 
			
		|||
  - name: "Network"
 | 
			
		||||
    x-displayName: "Networks"
 | 
			
		||||
    description: |
 | 
			
		||||
      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.
 | 
			
		||||
      Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
 | 
			
		||||
  - name: "Volume"
 | 
			
		||||
    x-displayName: "Volumes"
 | 
			
		||||
    description: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -109,7 +109,7 @@ tags:
 | 
			
		|||
  - name: "Network"
 | 
			
		||||
    x-displayName: "Networks"
 | 
			
		||||
    description: |
 | 
			
		||||
      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.
 | 
			
		||||
      Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
 | 
			
		||||
  - name: "Volume"
 | 
			
		||||
    x-displayName: "Volumes"
 | 
			
		||||
    description: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -110,7 +110,7 @@ tags:
 | 
			
		|||
  - name: "Network"
 | 
			
		||||
    x-displayName: "Networks"
 | 
			
		||||
    description: |
 | 
			
		||||
      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.
 | 
			
		||||
      Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
 | 
			
		||||
  - name: "Volume"
 | 
			
		||||
    x-displayName: "Volumes"
 | 
			
		||||
    description: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -111,7 +111,7 @@ tags:
 | 
			
		|||
  - name: "Network"
 | 
			
		||||
    x-displayName: "Networks"
 | 
			
		||||
    description: |
 | 
			
		||||
      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.
 | 
			
		||||
      Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
 | 
			
		||||
  - name: "Volume"
 | 
			
		||||
    x-displayName: "Volumes"
 | 
			
		||||
    description: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -112,7 +112,7 @@ tags:
 | 
			
		|||
  - name: "Network"
 | 
			
		||||
    x-displayName: "Networks"
 | 
			
		||||
    description: |
 | 
			
		||||
      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.
 | 
			
		||||
      Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
 | 
			
		||||
  - name: "Volume"
 | 
			
		||||
    x-displayName: "Volumes"
 | 
			
		||||
    description: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -113,7 +113,7 @@ tags:
 | 
			
		|||
  - name: "Network"
 | 
			
		||||
    x-displayName: "Networks"
 | 
			
		||||
    description: |
 | 
			
		||||
      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.
 | 
			
		||||
      Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
 | 
			
		||||
  - name: "Volume"
 | 
			
		||||
    x-displayName: "Volumes"
 | 
			
		||||
    description: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -116,7 +116,7 @@ tags:
 | 
			
		|||
  - name: "Network"
 | 
			
		||||
    x-displayName: "Networks"
 | 
			
		||||
    description: |
 | 
			
		||||
      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.
 | 
			
		||||
      Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
 | 
			
		||||
  - name: "Volume"
 | 
			
		||||
    x-displayName: "Volumes"
 | 
			
		||||
    description: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -104,7 +104,7 @@ tags:
 | 
			
		|||
  - name: "Network"
 | 
			
		||||
    x-displayName: "Networks"
 | 
			
		||||
    description: |
 | 
			
		||||
      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.
 | 
			
		||||
      Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
 | 
			
		||||
  - name: "Volume"
 | 
			
		||||
    x-displayName: "Volumes"
 | 
			
		||||
    description: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -104,7 +104,7 @@ tags:
 | 
			
		|||
  - name: "Network"
 | 
			
		||||
    x-displayName: "Networks"
 | 
			
		||||
    description: |
 | 
			
		||||
      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.
 | 
			
		||||
      Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
 | 
			
		||||
  - name: "Volume"
 | 
			
		||||
    x-displayName: "Volumes"
 | 
			
		||||
    description: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -104,7 +104,7 @@ tags:
 | 
			
		|||
  - name: "Network"
 | 
			
		||||
    x-displayName: "Networks"
 | 
			
		||||
    description: |
 | 
			
		||||
      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.
 | 
			
		||||
      Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
 | 
			
		||||
  - name: "Volume"
 | 
			
		||||
    x-displayName: "Volumes"
 | 
			
		||||
    description: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -104,7 +104,7 @@ tags:
 | 
			
		|||
  - name: "Network"
 | 
			
		||||
    x-displayName: "Networks"
 | 
			
		||||
    description: |
 | 
			
		||||
      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.
 | 
			
		||||
      Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/network/) for more information.
 | 
			
		||||
  - name: "Volume"
 | 
			
		||||
    x-displayName: "Volumes"
 | 
			
		||||
    description: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,3 +1,3 @@
 | 
			
		|||
Moved to https://docs.docker.com/engine/security/rootless/
 | 
			
		||||
Moved to https://docs.docker.com/go/rootless/
 | 
			
		||||
 | 
			
		||||
<!-- do not remove this file, as there is a lot of links to https://github.com/moby/moby/blob/master/docs/rootless.md -->
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,7 +21,7 @@ const maxBodySize = 1048576 // 1MB
 | 
			
		|||
// Authenticate Request:
 | 
			
		||||
// Call authZ plugins with current REST request and AuthN response
 | 
			
		||||
// Request contains full HTTP packet sent to the docker daemon
 | 
			
		||||
// https://docs.docker.com/engine/reference/api/
 | 
			
		||||
// https://docs.docker.com/engine/api/
 | 
			
		||||
//
 | 
			
		||||
// Authenticate Response:
 | 
			
		||||
// Call authZ plugins with full info about current REST request, REST response and AuthN response
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue