Start containers with the same HostConfig they had at last runtime.

pull/2/head
Kevan Ahlquist 10 years ago
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…
Cancel
Save