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

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

This commit is contained in:
Kevan Ahlquist 2014-10-23 01:24:58 -05:00
parent 8652285227
commit c9009db87d

View file

@ -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) {