Skip to content

Commit bda7fbb

Browse files
committed
remove utils
1 parent 75de453 commit bda7fbb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib/services.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
2-
const util = require('util')
3-
41
module.exports = async function (docker, projectName, recipe) {
52
var services = [];
63
var serviceNames = Object.keys(recipe.services || []);
@@ -101,9 +98,13 @@ module.exports = async function (docker, projectName, recipe) {
10198
}
10299
try {
103100
// maybe its a good idea create a task queue to perform container creations and related stuff by order/priority.
104-
console.log(util.inspect(networksToAttach, { showHidden: false, depth: null }))
105-
console.log(util.inspect(opts, { showHidden: false, depth: null }))
101+
//console.log(util.inspect(networksToAttach, { showHidden: false, depth: null }))
102+
//console.log(util.inspect(opts, { showHidden: false, depth: null }))
106103
var container = await docker.createContainer(opts);
104+
//detach network
105+
//attach high priority network
106+
//attach next priority network
107+
//and so on
107108
await container.start();
108109
services.push(container);
109110
} catch (err) {

0 commit comments

Comments
 (0)