mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix documentation related to docker port_bindings
This commit is contained in:
parent
e4562929e3
commit
c374214d4d
2 changed files with 8 additions and 8 deletions
|
@ -77029,8 +77029,8 @@ my_service:
|
|||
\- container: mysuperdocker
|
||||
\- port_bindings:
|
||||
"5000/tcp":
|
||||
\- HostIp: ""
|
||||
\- HostPort: "5000"
|
||||
\HostIp: ""
|
||||
\HostPort: "5000"
|
||||
.ft P
|
||||
.fi
|
||||
.UNINDENT
|
||||
|
@ -77306,8 +77306,8 @@ a mapping port\(aqs guest, hostname\(aqs host and port\(aqs host.
|
|||
.ft C
|
||||
\- port_bindings:
|
||||
"5000/tcp":
|
||||
\- HostIp: ""
|
||||
\- HostPort: "5000"
|
||||
\HostIp: ""
|
||||
\HostPort: "5000"
|
||||
.ft P
|
||||
.fi
|
||||
.UNINDENT
|
||||
|
|
|
@ -59,8 +59,8 @@ Available Functions
|
|||
- container: mysuperdocker
|
||||
- port_bindings:
|
||||
"5000/tcp":
|
||||
- HostIp: ""
|
||||
- HostPort: "5000"
|
||||
HostIp: ""
|
||||
HostPort: "5000"
|
||||
|
||||
|
||||
- absent
|
||||
|
@ -577,8 +577,8 @@ def running(name, container=None, port_bindings=None, binds=None,
|
|||
|
||||
- port_bindings:
|
||||
"5000/tcp":
|
||||
- HostIp: ""
|
||||
- HostPort: "5000"
|
||||
HostIp: ""
|
||||
HostPort: "5000"
|
||||
'''
|
||||
is_running = __salt('docker.is_running')(container)
|
||||
if is_running:
|
||||
|
|
Loading…
Add table
Reference in a new issue