Skip to content

Commit e4d651d

Browse files
thaJeztahvice
andcommitted
docs: fix config, secret examples
Co-authored-by: Vicente Jimenez Aguilar <googuy@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 88e9395 commit e4d651d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/reference/commandline/config_ls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The following filter matches only services with the `project` label with the
8282
`project-a` value.
8383

8484
```console
85-
$ docker service ls --filter label=project=test
85+
$ docker config ls --filter label=project=project-a
8686

8787
ID NAME CREATED UPDATED
8888
mem02h8n73mybpgqjf0kfi1n0 test_config About an hour ago About an hour ago
@@ -95,7 +95,7 @@ The `name` filter matches on all or prefix of a config's name.
9595
The following filter matches config with a name containing a prefix of `test`.
9696

9797
```console
98-
$ docker config ls --filter name=test_config
98+
$ docker config ls --filter name=test
9999

100100
ID NAME CREATED UPDATED
101101
mem02h8n73mybpgqjf0kfi1n0 test_config About an hour ago About an hour ago

docs/reference/commandline/secret_ls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The following filter matches only services with the `project` label with the
8282
`project-a` value.
8383

8484
```console
85-
$ docker service ls --filter label=project=test
85+
$ docker secret ls --filter label=project=project-a
8686

8787
ID NAME CREATED UPDATED
8888
mem02h8n73mybpgqjf0kfi1n0 test_secret About an hour ago About an hour ago
@@ -95,7 +95,7 @@ The `name` filter matches on all or prefix of a secret's name.
9595
The following filter matches secret with a name containing a prefix of `test`.
9696

9797
```console
98-
$ docker secret ls --filter name=test_secret
98+
$ docker secret ls --filter name=test
9999

100100
ID NAME CREATED UPDATED
101101
mem02h8n73mybpgqjf0kfi1n0 test_secret About an hour ago About an hour ago

0 commit comments

Comments
 (0)