Add security_opt as a docker-compose.yml option
Signed-off-by: Logan Owen <lsowen@s1network.com>
This commit is contained in:
parent
80eaf4cc9f
commit
ea7ee301c0
4 changed files with 22 additions and 1 deletions
10
docs/yml.md
10
docs/yml.md
|
|
@ -352,6 +352,16 @@ devices:
|
|||
- "/dev/ttyUSB0:/dev/ttyUSB0"
|
||||
```
|
||||
|
||||
### security_opt
|
||||
|
||||
Override the default labeling scheme for each container.
|
||||
|
||||
```
|
||||
security_opt:
|
||||
- label:user:USER
|
||||
- label:role:ROLE
|
||||
```
|
||||
|
||||
### working\_dir, entrypoint, user, hostname, domainname, mem\_limit, privileged, restart, stdin\_open, tty, cpu\_shares, cpuset, read\_only
|
||||
|
||||
Each of these is a single value, analogous to its
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue