Skip to content

Commit

Permalink
Merge pull request #76 from kevana/master
Browse files Browse the repository at this point in the history
Fixes #75, HostConfig issues
  • Loading branch information
kevana committed Feb 1, 2015
2 parents 4b4edc6 + 3d251fd commit ccd27f2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 3 additions & 1 deletion app/components/startContainer/startContainerController.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
8 changes: 5 additions & 3 deletions dist/dockerui.js
Original file line number Diff line number Diff line change
@@ -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'])
Expand Down Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>DockerUI</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Michael Crosby">
<meta name="author" content="Michael Crosby & Kevan Ahlquist">

<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/css/jquery.gritter.css" rel="stylesheet">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"author": "Michael Crosby",
"author": "Michael Crosby & Kevan Ahlquist",
"name": "dockerui",
"homepage": "https://github.com/crosbymichael/dockerui",
"version": "0.6.0",
Expand Down

0 comments on commit ccd27f2

Please sign in to comment.