Add security_opt as a docker-compose.yml option

Signed-off-by: Logan Owen <lsowen@s1network.com>
This commit is contained in:
lsowen 2015-04-17 01:34:42 +00:00
commit ea7ee301c0
4 changed files with 22 additions and 1 deletions

View file

@ -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