Skip to content

Commit f12ba31

Browse files
committed
Update link in ps and stats --help output
Signed-off-by: Max Proske <[email protected]>
1 parent 5e2abb6 commit f12ba31

File tree

12 files changed

+30
-30
lines changed

12 files changed

+30
-30
lines changed

BUILDING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
### Prerequisites
33

44
* Windows:
5-
* [Docker Desktop](https://hub.docker.com/editions/community/docker-ce-desktop-windows)
5+
* [Docker Desktop](https://docs.docker.com/desktop/setup/install/windows-install/)
66
* make
77
* macOS:
8-
* [Docker Desktop](https://hub.docker.com/editions/community/docker-ce-desktop-mac)
8+
* [Docker Desktop](https://docs.docker.com/desktop/setup/install/mac-install/)
99
* make
1010
* Linux:
1111
* [Docker 20.10 or later](https://docs.docker.com/engine/install/)

CONTRIBUTING.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Want to hack on Docker? Awesome! We have a contributor's guide that explains
44
[setting up a Docker development environment and the contribution
5-
process](https://docs.docker.com/contribute/overview/).
5+
process](https://docs.docker.com/contribute/).
66

77
This page contains information about reporting issues as well as some tips and
88
guidelines useful to experienced open source contributors. Finally, make sure
@@ -95,7 +95,7 @@ don't get discouraged!
9595
<tr>
9696
<td>Community Slack</td>
9797
<td>
98-
The Docker Community has a dedicated Slack chat to discuss features and issues. You can sign-up <a href="https://www.docker.com/docker-community" target="_blank">with this link</a>.
98+
The Docker Community has a dedicated Slack chat to discuss features and issues. You can sign-up <a href="https://www.docker.com/community/" target="_blank">with this link</a>.
9999
</td>
100100
</tr>
101101
<tr>
@@ -118,7 +118,7 @@ don't get discouraged!
118118
<td>Stack Overflow</td>
119119
<td>
120120
Stack Overflow has over 17000 Docker questions listed. We regularly
121-
monitor <a href="https://stackoverflow.com/search?tab=newest&q=docker" target="_blank">Docker questions</a>
121+
monitor <a href="https://stackoverflow.com/questions/tagged/docker" target="_blank">Docker questions</a>
122122
and so do many other knowledgeable Docker users.
123123
</td>
124124
</tr>
@@ -200,7 +200,7 @@ For more details, see the [MAINTAINERS](MAINTAINERS) page.
200200
The sign-off is a simple line at the end of the explanation for the patch. Your
201201
signature certifies that you wrote the patch or otherwise have the right to pass
202202
it on as an open-source patch. The rules are pretty simple: if you can certify
203-
the below (from [developercertificate.org](http://developercertificate.org/)):
203+
the below (from [developercertificate.org](https://developercertificate.org/)):
204204

205205
```
206206
Developer Certificate of Origin
@@ -252,7 +252,7 @@ commit automatically with `git commit -s`.
252252
### How can I become a maintainer?
253253

254254
The procedures for adding new maintainers are explained in the global
255-
[MAINTAINERS](https://github.com/docker/opensource/blob/master/MAINTAINERS)
255+
[MAINTAINERS](https://github.com/docker/opensource/blob/main/MAINTAINERS)
256256
file in the
257257
[https://github.com/docker/opensource/](https://github.com/docker/opensource/)
258258
repository.
@@ -311,8 +311,8 @@ The rules:
311311
2. All code should pass the default levels of
312312
[`golint`](https://github.com/golang/lint).
313313
3. All code should follow the guidelines covered in [Effective
314-
Go](http://golang.org/doc/effective_go.html) and [Go Code Review
315-
Comments](https://github.com/golang/go/wiki/CodeReviewComments).
314+
Go](https://go.dev/doc/effective_go) and [Go Code Review
315+
Comments](https://go.dev/wiki/CodeReviewComments).
316316
4. Include code comments. Tell us the why, the history and the context.
317317
5. Document _all_ declarations and methods, even private ones. Declare
318318
expectations, caveats and anything else that may be important. If a type
@@ -334,6 +334,6 @@ The rules:
334334
guidelines. Since you've read all the rules, you now know that.
335335

336336
If you are having trouble getting into the mood of idiomatic Go, we recommend
337-
reading through [Effective Go](https://golang.org/doc/effective_go.html). The
338-
[Go Blog](https://blog.golang.org) is also a great resource. Drinking the
337+
reading through [Effective Go](https://go.dev/doc/effective_go). The
338+
[Go Blog](https://go.dev/blog/) is also a great resource. Drinking the
339339
kool-aid is a lot easier than going thirsty.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- [Legacy](#legacy)
99
# Docker Compose v2
1010

11-
[![GitHub release](https://img.shields.io/github/release/docker/compose.svg?style=flat-square)](https://github.com/docker/compose/releases/latest)
11+
[![GitHub release](https://img.shields.io/github/v/release/docker/compose.svg?style=flat-square)](https://github.com/docker/compose/releases/latest)
1212
[![PkgGoDev](https://img.shields.io/badge/go.dev-docs-007d9c?style=flat-square&logo=go&logoColor=white)](https://pkg.go.dev/github.com/docker/compose/v2)
1313
[![Build Status](https://img.shields.io/github/actions/workflow/status/docker/compose/ci.yml?label=ci&logo=github&style=flat-square)](https://github.com/docker/compose/actions?query=workflow%3Aci)
1414
[![Go Report Card](https://goreportcard.com/badge/github.com/docker/compose/v2?style=flat-square)](https://goreportcard.com/report/github.com/docker/compose/v2)
@@ -28,7 +28,7 @@ single command: `docker compose up`.
2828
### Windows and macOS
2929

3030
Docker Compose is included in
31-
[Docker Desktop](https://www.docker.com/products/docker-desktop)
31+
[Docker Desktop](https://www.docker.com/products/docker-desktop/)
3232
for Windows and macOS.
3333

3434
### Linux

cmd/compose/stats.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func statsCommand(p *ProjectOptions, dockerCli command.Cli) *cobra.Command {
5656
'table TEMPLATE': Print output in table format using the given Go template
5757
'json': Print in JSON format
5858
'TEMPLATE': Print output using the given Go template.
59-
Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates`)
59+
Refer to https://docs.docker.com/engine/cli/formatting/ for more information about formatting output with templates`)
6060
flags.BoolVar(&opts.noStream, "no-stream", false, "Disable streaming stats and only pull the first result")
6161
flags.BoolVar(&opts.noTrunc, "no-trunc", false, "Do not truncate output")
6262
return cmd

docs/reference/compose_build.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
Services are built once and then tagged, by default as `project-service`.
55

66
If the Compose file specifies an
7-
[image](https://github.com/compose-spec/compose-spec/blob/master/spec.md#image) name,
7+
[image](https://github.com/compose-spec/compose-spec/blob/main/spec.md#image) name,
88
the image is tagged with that name, substituting any variables beforehand. See
9-
[variable interpolation](https://github.com/compose-spec/compose-spec/blob/master/spec.md#interpolation).
9+
[variable interpolation](https://github.com/compose-spec/compose-spec/blob/main/spec.md#interpolation).
1010

1111
If you change a service's `Dockerfile` or the contents of its build directory,
1212
run `docker compose build` to rebuild it.
@@ -34,9 +34,9 @@ run `docker compose build` to rebuild it.
3434
Services are built once and then tagged, by default as `project-service`.
3535

3636
If the Compose file specifies an
37-
[image](https://github.com/compose-spec/compose-spec/blob/master/spec.md#image) name,
37+
[image](https://github.com/compose-spec/compose-spec/blob/main/spec.md#image) name,
3838
the image is tagged with that name, substituting any variables beforehand. See
39-
[variable interpolation](https://github.com/compose-spec/compose-spec/blob/master/spec.md#interpolation).
39+
[variable interpolation](https://github.com/compose-spec/compose-spec/blob/main/spec.md#interpolation).
4040

4141
If you change a service's `Dockerfile` or the contents of its build directory,
4242
run `docker compose build` to rebuild it.

docs/reference/compose_ps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ example-bar-1 alpine "/entrypoint.…" bar 4 seconds ago exited
2525
| `-a`, `--all` | `bool` | | Show all stopped containers (including those created by the run command) |
2626
| `--dry-run` | `bool` | | Execute command in dry run mode |
2727
| [`--filter`](#filter) | `string` | | Filter services by a property (supported filters: status) |
28-
| [`--format`](#format) | `string` | `table` | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
28+
| [`--format`](#format) | `string` | `table` | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/engine/cli/formatting/ for more information about formatting output with templates |
2929
| `--no-trunc` | `bool` | | Don't truncate output |
3030
| `--orphans` | `bool` | `true` | Include orphaned services (not declared by project) |
3131
| `-q`, `--quiet` | `bool` | | Only display IDs |

docs/reference/compose_restart.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ after a container is built, but before the container's command is executed) are
99
after restarting.
1010

1111
If you are looking to configure a service's restart policy, refer to
12-
[restart](https://github.com/compose-spec/compose-spec/blob/master/spec.md#restart)
13-
or [restart_policy](https://github.com/compose-spec/compose-spec/blob/master/deploy.md#restart_policy).
12+
[restart](https://github.com/compose-spec/compose-spec/blob/main/spec.md#restart)
13+
or [restart_policy](https://github.com/compose-spec/compose-spec/blob/main/deploy.md#restart_policy).
1414

1515
### Options
1616

@@ -33,5 +33,5 @@ after a container is built, but before the container's command is executed) are
3333
after restarting.
3434

3535
If you are looking to configure a service's restart policy, refer to
36-
[restart](https://github.com/compose-spec/compose-spec/blob/master/spec.md#restart)
37-
or [restart_policy](https://github.com/compose-spec/compose-spec/blob/master/deploy.md#restart_policy).
36+
[restart](https://github.com/compose-spec/compose-spec/blob/main/spec.md#restart)
37+
or [restart_policy](https://github.com/compose-spec/compose-spec/blob/main/deploy.md#restart_policy).

docs/reference/compose_stats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Display a live stream of container(s) resource usage statistics
99
|:--------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
1010
| `-a`, `--all` | `bool` | | Show all containers (default shows just running) |
1111
| `--dry-run` | `bool` | | Execute command in dry run mode |
12-
| `--format` | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
12+
| `--format` | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/engine/cli/formatting/ for more information about formatting output with templates |
1313
| `--no-stream` | `bool` | | Disable streaming stats and only pull the first result |
1414
| `--no-trunc` | `bool` | | Do not truncate output |
1515

docs/reference/docker_compose_build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ long: |-
44
Services are built once and then tagged, by default as `project-service`.
55
66
If the Compose file specifies an
7-
[image](https://github.com/compose-spec/compose-spec/blob/master/spec.md#image) name,
7+
[image](https://github.com/compose-spec/compose-spec/blob/main/spec.md#image) name,
88
the image is tagged with that name, substituting any variables beforehand. See
9-
[variable interpolation](https://github.com/compose-spec/compose-spec/blob/master/spec.md#interpolation).
9+
[variable interpolation](https://github.com/compose-spec/compose-spec/blob/main/spec.md#interpolation).
1010
1111
If you change a service's `Dockerfile` or the contents of its build directory,
1212
run `docker compose build` to rebuild it.

docs/reference/docker_compose_ps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ options:
5252
'table TEMPLATE': Print output in table format using the given Go template
5353
'json': Print in JSON format
5454
'TEMPLATE': Print output using the given Go template.
55-
Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates
55+
Refer to https://docs.docker.com/engine/cli/formatting/ for more information about formatting output with templates
5656
details_url: '#format'
5757
deprecated: false
5858
hidden: false

0 commit comments

Comments
 (0)