mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #39342 from jccomputing/detach
dockerng: fix documentation for detach's default value
This commit is contained in:
commit
05de98e237
@ -98664,10 +98664,10 @@ Attach TTYs
|
||||
Example: \fBtty=True\fP
|
||||
.TP
|
||||
.B detach
|
||||
True
|
||||
False
|
||||
If \fBTrue\fP, run \fBcommand\fP in the background (daemon mode)
|
||||
.sp
|
||||
Example: \fBdetach=False\fP
|
||||
Example: \fBdetach=True\fP
|
||||
.TP
|
||||
.B user
|
||||
User under which to run docker
|
||||
|
@ -2836,10 +2836,10 @@ def create(image,
|
||||
|
||||
Example: ``tty=True``
|
||||
|
||||
detach : True
|
||||
detach : False
|
||||
If ``True``, run ``command`` in the background (daemon mode)
|
||||
|
||||
Example: ``detach=False``
|
||||
Example: ``detach=True``
|
||||
|
||||
user
|
||||
User under which to run docker
|
||||
|
@ -980,7 +980,7 @@ def running(name,
|
||||
- image: bar/baz:latest
|
||||
- tty: True
|
||||
|
||||
detach : True
|
||||
detach : False
|
||||
If ``True``, run the container's command in the background (daemon
|
||||
mode)
|
||||
|
||||
@ -989,7 +989,7 @@ def running(name,
|
||||
foo:
|
||||
dockerng.running:
|
||||
- image: bar/baz:latest
|
||||
- detach: False
|
||||
- detach: True
|
||||
|
||||
user
|
||||
User under which to run docker
|
||||
|
Loading…
Reference in New Issue
Block a user