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(){
|
||||
ViewSpinner.spin();
|
||||
Container.start({id: $routeParams.id}, function(d) {
|
||||
Container.start({
|
||||
id: $scope.container.Id,
|
||||
HostConfig: $scope.container.HostConfig
|
||||
}, function(d) {
|
||||
update();
|
||||
Messages.send("Container started", $routeParams.id);
|
||||
}, function(e) {
|
||||
|
|
Loading…
Reference in New Issue