mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 06:49:40 +02:00
Fixes #75
This commit is contained in:
parent
990456dbdd
commit
3d251fdba4
4 changed files with 10 additions and 6 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue