Added support for cgroup_parent

This change adds cgroup-parent support to compose project. It allows
each service to specify a 'cgroup_parent' option.

Signed-off-by: Mohit Soni <mosoni@paypal.com>
This commit is contained in:
Mohit Soni 2015-09-30 00:25:26 -07:00 committed by Mazz Mosley
commit f4efa29377
5 changed files with 19 additions and 1 deletions

View file

@ -56,6 +56,12 @@ Override the default command.
command: bundle exec thin -p 3000
### cgroup_parent
Specify an optional parent cgroup for the container.
cgroup_parent: m-executor-abcd
### container_name
Specify a custom container name, rather than a generated default name.