diff --git a/app/components/startContainer/startContainerController.js b/app/components/startContainer/startContainerController.js index f913d55..f3f5cac 100644 --- a/app/components/startContainer/startContainerController.js +++ b/app/components/startContainer/startContainerController.js @@ -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'); diff --git a/dist/dockerui.js b/dist/dockerui.js index 5ffdda0..adb9159 100644 --- a/dist/dockerui.js +++ b/dist/dockerui.js @@ -1,6 +1,6 @@ -/*! dockerui - v0.6.0 - 2015-01-31 +/*! dockerui - v0.6.0 - 2015-02-01 * https://github.com/crosbymichael/dockerui - * Copyright (c) 2015 Michael Crosby; + * Copyright (c) 2015 Michael Crosby & Kevan Ahlquist; * Licensed MIT */ angular.module('dockerui', ['dockerui.templates', 'ngRoute', 'dockerui.services', 'dockerui.filters', 'masthead', 'footer', 'dashboard', 'container', 'containers', 'images', 'image', 'startContainer', 'sidebar', 'settings', 'builder', 'containerLogs']) @@ -613,7 +613,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'); diff --git a/dist/index.html b/dist/index.html index 11d129a..92d74ad 100644 --- a/dist/index.html +++ b/dist/index.html @@ -5,7 +5,7 @@ DockerUI - + diff --git a/package.json b/package.json index a1b9034..168ece4 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "author": "Michael Crosby", + "author": "Michael Crosby & Kevan Ahlquist", "name": "dockerui", "homepage": "https://github.com/crosbymichael/dockerui", "version": "0.6.0",