1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 06:49:40 +02:00
This commit is contained in:
Kevan Ahlquist 2015-02-01 17:15:58 -06:00
parent 990456dbdd
commit 3d251fdba4
4 changed files with 10 additions and 6 deletions

View file

@ -110,7 +110,9 @@ function($scope, $routeParams, $location, Container, Messages, containernameFilt
var s = $scope;
Container.create(config, function(d) {
if (d.Id) {
ctor.start({id: d.Id}, function(cd) {
var reqBody = config.HostConfig || {};
reqBody.id = d.Id;
ctor.start(reqBody, function(cd) {
if (cd.id) {
Messages.send('Container Started', d.Id);
$('#create-modal').modal('hide');