man: update links to Go documentation

Go documentation moved to the `go.dev` domain;

    curl -sI https://golang.org/doc/install/source#environment | grep 'location'
    location: https://go.dev/doc/install/source

Also updated some links to use https, where available.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 722e3aae4f)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-08-25 14:11:18 +02:00
parent e9f843bf04
commit d977531018
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
5 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ container is unpaused, and then run
# CAPABILITIES # CAPABILITIES
`privileged` gives the process extended `privileged` gives the process extended
[Linux capabilities](http://man7.org/linux/man-pages/man7/capabilities.7.html) [Linux capabilities](https://man7.org/linux/man-pages/man7/capabilities.7.html)
when running in a container. when running in a container.
Without this flag, the process run by `docker exec` in a running container has Without this flag, the process run by `docker exec` in a running container has

View File

@ -193,7 +193,7 @@ output:
80/tcp -> 80 80/tcp -> 80
You can get more information about how to write a Go template from: You can get more information about how to write a Go template from:
https://golang.org/pkg/text/template/. https://pkg.go.dev/text/template.
## Getting size information on a container ## Getting size information on a container

View File

@ -11,7 +11,7 @@ bda12f8922785d1f160be70736f26c1e331ab8aaf8ed8d56728508f2e2fd4727
The `network inspect` command shows the containers, by id, in its The `network inspect` command shows the containers, by id, in its
results. You can specify an alternate format to execute a given results. You can specify an alternate format to execute a given
template for each result. Go's template for each result. Go's
[text/template](http://golang.org/pkg/text/template/) package [text/template](https://pkg.go.dev/text/template) package
describes all the details of the format. describes all the details of the format.
```console ```console

View File

@ -85,7 +85,7 @@ details of the format.
Type=container Status=destroy ID=2ee349dac409e97974ce8d01b70d250b85e0ba8189299c126a87812311951e26 Type=container Status=destroy ID=2ee349dac409e97974ce8d01b70d250b85e0ba8189299c126a87812311951e26
If a format is set to `{{json .}}`, the events are streamed as valid JSON If a format is set to `{{json .}}`, the events are streamed as valid JSON
Lines. For information about JSON Lines, please refer to http://jsonlines.org/ . Lines. For information about JSON Lines, please refer to https://jsonlines.org .
# docker events --format '{{json .}}' # docker events --format '{{json .}}'
{"status":"create","id":"196016a57679bf42424484918746a9474cd905dd993c4d0f4.. {"status":"create","id":"196016a57679bf42424484918746a9474cd905dd993c4d0f4..

View File

@ -1,4 +1,4 @@
Returns information about one or more volumes. By default, this command renders Returns information about one or more volumes. By default, this command renders
all results in a JSON array. You can specify an alternate format to execute a all results in a JSON array. You can specify an alternate format to execute a
given template is executed for each result. Go's https://golang.org/pkg/text/template/ given template is executed for each result. Go's https://pkg.go.dev/text/template
package describes all the details of the format. package describes all the details of the format.