mirror of https://github.com/portainer/portainer
Start containers with the same HostConfig they had at last runtime.
parent
8652285227
commit
c9009db87d
|
@ -172,7 +172,10 @@ function ContainerController($scope, $routeParams, $location, Container, Message
|
||||||
|
|
||||||
$scope.start = function(){
|
$scope.start = function(){
|
||||||
ViewSpinner.spin();
|
ViewSpinner.spin();
|
||||||
Container.start({id: $routeParams.id}, function(d) {
|
Container.start({
|
||||||
|
id: $scope.container.Id,
|
||||||
|
HostConfig: $scope.container.HostConfig
|
||||||
|
}, function(d) {
|
||||||
update();
|
update();
|
||||||
Messages.send("Container started", $routeParams.id);
|
Messages.send("Container started", $routeParams.id);
|
||||||
}, function(e) {
|
}, function(e) {
|
||||||
|
|
Loading…
Reference in New Issue