Skip to content

Commit c70b216

Browse files
committed
docs: Link supported Go duration strings
Signed-off-by: Paul Rogalski <mail@paul-rogalski.de>
1 parent 7908982 commit c70b216

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/reference/commandline/container_prune.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The currently supported filters are:
4343
* label (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) - only remove containers with (or without, in case `label!=...` is used) the specified labels.
4444

4545
The `until` filter can be Unix timestamps, date formatted
46-
timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed
46+
timestamps, or Go duration strings supported by [ParseDuration](https://pkg.go.dev/time#ParseDuration) (e.g. `10m`, `1h30m`) computed
4747
relative to the daemon machine’s time. Supported formats for date
4848
formatted time stamps include RFC3339Nano, RFC3339, `2006-01-02T15:04:05`,
4949
`2006-01-02T15:04:05.999999999`, `2006-01-02T07:00`, and `2006-01-02`. The local

docs/reference/commandline/image_prune.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The currently supported filters are:
6666
* label (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) - only remove images with (or without, in case `label!=...` is used) the specified labels.
6767

6868
The `until` filter can be Unix timestamps, date formatted
69-
timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed
69+
timestamps, or Go duration strings supported by [ParseDuration](https://pkg.go.dev/time#ParseDuration) (e.g. `10m`, `1h30m`) computed
7070
relative to the daemon machine’s time. Supported formats for date
7171
formatted time stamps include RFC3339Nano, RFC3339, `2006-01-02T15:04:05`,
7272
`2006-01-02T15:04:05.999999999`, `2006-01-02T07:00`, and `2006-01-02`. The local

docs/reference/commandline/network_prune.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The currently supported filters are:
4141
* label (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) - only remove networks with (or without, in case `label!=...` is used) the specified labels.
4242

4343
The `until` filter can be Unix timestamps, date formatted
44-
timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed
44+
timestamps, or Go duration strings supported by [ParseDuration](https://pkg.go.dev/time#ParseDuration) (e.g. `10m`, `1h30m`) computed
4545
relative to the daemon machine’s time. Supported formats for date
4646
formatted time stamps include RFC3339Nano, RFC3339, `2006-01-02T15:04:05`,
4747
`2006-01-02T15:04:05.999999999`, `2006-01-02T07:00`, and `2006-01-02`. The local

docs/reference/commandline/system_events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Docker configs report the following events:
144144
#### <a name="since"></a> Limit events by time (--since, --until)
145145

146146
The `--since` and `--until` parameters can be Unix timestamps, date formatted
147-
timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed
147+
timestamps, or Go duration strings supported by [ParseDuration](https://pkg.go.dev/time#ParseDuration) (e.g. `10m`, `1h30m`) computed
148148
relative to the client machine’s time. If you do not provide the `--since` option,
149149
the command returns only new and/or live events. Supported formats for date
150150
formatted time stamps include RFC3339Nano, RFC3339, `2006-01-02T15:04:05`,

docs/reference/commandline/system_prune.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ The currently supported filters are:
104104
* label (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) - only remove containers, images, networks, and volumes with (or without, in case `label!=...` is used) the specified labels.
105105

106106
The `until` filter can be Unix timestamps, date formatted
107-
timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed
107+
timestamps, or Go duration strings supported by [ParseDuration](https://pkg.go.dev/time#ParseDuration) (e.g. `10m`, `1h30m`) computed
108108
relative to the daemon machine’s time. Supported formats for date
109109
formatted time stamps include RFC3339Nano, RFC3339, `2006-01-02T15:04:05`,
110110
`2006-01-02T15:04:05.999999999`, `2006-01-02T07:00`, and `2006-01-02`. The local

man/src/container/logs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ then continue streaming new output from the container's stdout and stderr.
1111
logging drivers.
1212

1313
The `--since` and `--until` options can be Unix timestamps, date formatted timestamps,
14-
or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the client machine's
14+
or Go duration strings supported by [ParseDuration](https://pkg.go.dev/time#ParseDuration) (e.g. `10m`, `1h30m`) computed relative to the client machine's
1515
time. Supported formats for date formatted time stamps include RFC3339Nano,
1616
RFC3339, `2006-01-02T15:04:05`, `2006-01-02T15:04:05.999999999`,
1717
`2006-01-02T07:00`, and `2006-01-02`. The local timezone on the client will be

man/src/system/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Docker networks report the following events:
2020
# OPTIONS
2121

2222
The `--since` and `--until` parameters can be Unix timestamps, date formatted
23-
timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed
23+
timestamps, or Go duration strings supported by [ParseDuration](https://pkg.go.dev/time#ParseDuration) (e.g. `10m`, `1h30m`) computed
2424
relative to the client machine's time. If you do not provide the `--since` option,
2525
the command returns only new and/or live events. Supported formats for date
2626
formatted time stamps include RFC3339Nano, RFC3339, `2006-01-02T15:04:05`,

0 commit comments

Comments
 (0)