Added ulimits functionality to docker compose

Signed-off-by: Kevin Greene <kevin@spantree.net>
This commit is contained in:
Kevin Greene 2015-10-26 17:39:50 -04:00 committed by Daniel Nephin
commit 22d90d2180
6 changed files with 152 additions and 0 deletions

View file

@ -333,6 +333,17 @@ Override the default labeling scheme for each container.
- label:user:USER
- label:role:ROLE
### ulimits
Override the default ulimits for a container. You can either use a number
to set the hard and soft limits, or specify them in a dictionary.
ulimits:
nproc: 65535
nofile:
soft: 20000
hard: 40000
### volumes, volume\_driver
Mount paths as volumes, optionally specifying a path on the host machine