Merge pull request #22078 from yongtang/04152016-docs-remote-api-SecurityOpt
Fix incorrect docs in remote API for the option of `SecurityOpt` Upstream-commit: 7bfa122472d9d693585bfa4af2c892678fdc3886 Component: engine
This commit is contained in:
@@ -151,7 +151,7 @@ Create a container
|
||||
"ExposedPorts": {
|
||||
"22/tcp": {}
|
||||
},
|
||||
"SecurityOpts": [],
|
||||
"SecurityOpt": [],
|
||||
"HostConfig": {
|
||||
"Binds": ["/tmp:/tmp"],
|
||||
"Links": ["redis3:redis"],
|
||||
@@ -212,7 +212,7 @@ Json Parameters:
|
||||
container
|
||||
- **ExposedPorts** - An object mapping ports to an empty object in the form of:
|
||||
`"ExposedPorts": { "<port>/<tcp|udp>: {}" }`
|
||||
- **SecurityOpts**: A list of string values to customize labels for MLS
|
||||
- **SecurityOpt**: A list of string values to customize labels for MLS
|
||||
systems, such as SELinux.
|
||||
- **HostConfig**
|
||||
- **Binds** – A list of volume bindings for this container. Each volume
|
||||
|
||||
@@ -151,7 +151,7 @@ Create a container
|
||||
"ExposedPorts": {
|
||||
"22/tcp": {}
|
||||
},
|
||||
"SecurityOpts": [],
|
||||
"SecurityOpt": [],
|
||||
"HostConfig": {
|
||||
"Binds": ["/tmp:/tmp"],
|
||||
"Links": ["redis3:redis"],
|
||||
@@ -212,7 +212,7 @@ Json Parameters:
|
||||
container
|
||||
- **ExposedPorts** - An object mapping ports to an empty object in the form of:
|
||||
`"ExposedPorts": { "<port>/<tcp|udp>: {}" }`
|
||||
- **SecurityOpts**: A list of string values to customize labels for MLS
|
||||
- **SecurityOpt**: A list of string values to customize labels for MLS
|
||||
systems, such as SELinux.
|
||||
- **HostConfig**
|
||||
- **Binds** – A list of volume bindings for this container. Each volume
|
||||
|
||||
Reference in New Issue
Block a user