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:
parent
c9009db87d
commit
86ca961d37
2 changed files with 5 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue