Add cpu_shares option in fig.yml
This options maps exactly the docker run option with the same name. Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
This commit is contained in:
parent
4ef2e21cca
commit
aa0c43df96
3 changed files with 11 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ log = logging.getLogger(__name__)
|
|||
DOCKER_CONFIG_KEYS = [
|
||||
'cap_add',
|
||||
'cap_drop',
|
||||
'cpu_shares',
|
||||
'command',
|
||||
'detach',
|
||||
'dns',
|
||||
|
|
@ -41,6 +42,7 @@ DOCKER_CONFIG_KEYS = [
|
|||
'working_dir',
|
||||
]
|
||||
DOCKER_CONFIG_HINTS = {
|
||||
'cpu_share' : 'cpu_shares',
|
||||
'link' : 'links',
|
||||
'port' : 'ports',
|
||||
'privilege' : 'privileged',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue