Added support for cpu_quota flag
Signed-off-by: Dimitar Bonev <dimitar.bonev@gmail.com>
This commit is contained in:
parent
c8f63306e0
commit
a542041264
5 changed files with 12 additions and 1 deletions
|
|
@ -59,6 +59,7 @@ DOCKER_START_KEYS = [
|
|||
'restart',
|
||||
'volumes_from',
|
||||
'security_opt',
|
||||
'cpu_quota',
|
||||
]
|
||||
|
||||
|
||||
|
|
@ -610,6 +611,7 @@ class Service(object):
|
|||
security_opt=options.get('security_opt'),
|
||||
ipc_mode=options.get('ipc'),
|
||||
cgroup_parent=options.get('cgroup_parent'),
|
||||
cpu_quota=options.get('cpu_quota'),
|
||||
)
|
||||
|
||||
def build(self, no_cache=False, pull=False, force_rm=False):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue