Skip to content

Commit a357db0

Browse files
committed
man: dockerd: value is optional for --feature flag
The --feature flag allows the boolean value to be omitted. If only a name is provided, the default is "true". Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent fb056d2 commit a357db0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

man/dockerd.8.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dockerd - Enable daemon mode
3131
[**--exec-opt**[=*[]*]]
3232
[**--exec-root**[=*/var/run/docker*]]
3333
[**--experimental**[=**false**]]
34-
[**--feature**[=*NAME*=**true**|**false**]
34+
[**--feature**[=*NAME*[=**true**|**false**]]
3535
[**--fixed-cidr**[=*FIXED-CIDR*]]
3636
[**--fixed-cidr-v6**[=*FIXED-CIDR-V6*]]
3737
[**-G**|**--group**[=*docker*]]
@@ -223,13 +223,13 @@ $ sudo dockerd --add-runtime runc=runc --add-runtime custom=/usr/local/bin/my-ru
223223
**--experimental**=""
224224
Enable the daemon experimental features.
225225

226-
**--feature**=*NAME*=**true**|**false**
226+
**--feature**=*NAME*[=**true**|**false**]
227227
Enable or disable a feature in the daemon. This option corresponds
228228
with the "features" field in the daemon.json configuration file. Using
229229
both the command-line option and the "features" field in the configuration
230230
file produces an error. The feature option can be specified multiple times
231231
to configure multiple features.
232-
Usage example: `--feature containerd-snapshotter=true`
232+
Usage example: `--feature containerd-snapshotter` or `--feature containerd-snapshotter=true`.
233233

234234
**--fixed-cidr**=""
235235
IPv4 subnet for fixed IPs (e.g., 10.20.0.0/16); this subnet must be nested in

0 commit comments

Comments
 (0)