Merge branch 'feat95-container-start-no-hostconfig' into internal
This commit is contained in:
@@ -92,9 +92,7 @@ function ($scope, $state, Config, Container, Image, Volume, Network, Messages, e
|
||||
function createContainer(config) {
|
||||
Container.create(config, function (d) {
|
||||
if (d.Id) {
|
||||
var reqBody = config.HostConfig || {};
|
||||
reqBody.id = d.Id;
|
||||
Container.start(reqBody, function (cd) {
|
||||
Container.start({id: d.Id}, {}, function (cd) {
|
||||
$('#createContainerSpinner').hide();
|
||||
Messages.send('Container Started', d.Id);
|
||||
$state.go('containers', {}, {reload: true});
|
||||
|
||||
Reference in New Issue
Block a user