1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-27 09:19:39 +02:00

Added CpuShares to container start task.

This commit is contained in:
Kevan Ahlquist 2014-10-26 01:09:54 -05:00
parent c9009db87d
commit 86ca961d37
2 changed files with 5 additions and 0 deletions

View file

@ -453,6 +453,7 @@ function StartContainerController($scope, $routeParams, $location, Container, Me
name: '',
memory: 0,
memorySwap: 0,
cpuShares: 1024,
env: '',
commands: '',
volumesFrom: ''
@ -474,6 +475,7 @@ function StartContainerController($scope, $routeParams, $location, Container, Me
name: $scope.config.name,
Memory: $scope.config.memory,
MemorySwap: $scope.config.memorySwap,
CpuShares: $scope.config.cpuShares,
Cmd: cmds,
VolumesFrom: $scope.config.volumesFrom
}, function(d) {