Skip to content

Commit f3e1dc0

Browse files
committed
add docs for --enable-secrets
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
1 parent 5d8aa7d commit f3e1dc0

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

contrib/completion/bash/docker

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1845,6 +1845,7 @@ _docker_daemon() {
18451845
local boolean_options="
18461846
$global_boolean_options
18471847
--disable-legacy-registry
1848+
--enable-secrets
18481849
--experimental
18491850
--help
18501851
--icc=false

docs/reference/commandline/dockerd.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Options:
4242
--dns value DNS server to use (default [])
4343
--dns-opt value DNS options to use (default [])
4444
--dns-search value DNS search domains to use (default [])
45+
--enable-secrets Enable RHEL secrets
4546
--exec-opt value Runtime execution options (default [])
4647
--exec-root string Root directory for execution state files (default "/var/run/docker")
4748
--experimental Enable experimental features
@@ -1146,6 +1147,7 @@ This is a full example of the allowed configuration options on Linux:
11461147
"dns": [],
11471148
"dns-opts": [],
11481149
"dns-search": [],
1150+
"enable-secrets": true,
11491151
"exec-opts": [],
11501152
"exec-root": "",
11511153
"experimental": false,
@@ -1230,6 +1232,7 @@ This is a full example of the allowed configuration options on Windows:
12301232
"dns": [],
12311233
"dns-opts": [],
12321234
"dns-search": [],
1235+
"enable-secrets": true,
12331236
"exec-opts": [],
12341237
"experimental": false,
12351238
"storage-driver": "",

man/dockerd.8.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ dockerd - Enable daemon mode
2828
[**--dns**[=*[]*]]
2929
[**--dns-opt**[=*[]*]]
3030
[**--dns-search**[=*[]*]]
31+
[**--enable-secrets**[=*true*]]
3132
[**--exec-opt**[=*[]*]]
3233
[**--exec-root**[=*/var/run/docker*]]
3334
[**--experimental**[=*false*]]
@@ -187,6 +188,9 @@ $ sudo dockerd --add-runtime runc=runc --add-runtime custom=/usr/local/bin/my-ru
187188
**--dns-search**=[]
188189
DNS search domains to use.
189190

191+
**--enable-secrets**=*true*|*false*
192+
Allow subscription-manager inside the containers to use subscriptions available on the host. Default is true.
193+
190194
**--exec-opt**=[]
191195
Set runtime execution options. See RUNTIME EXECUTION OPTIONS.
192196

0 commit comments

Comments
 (0)