From 55ae9531cef5c62ee696cac6fe11f9429e859ea9 Mon Sep 17 00:00:00 2001 From: FrenchBen Date: Mon, 31 Aug 2015 15:25:52 -0400 Subject: [PATCH] Fixed start/stop issues Signed-off-by: FrenchBen --- src/utils/DockerUtil.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/DockerUtil.js b/src/utils/DockerUtil.js index 4e6a8cb473..c5748040e5 100644 --- a/src/utils/DockerUtil.js +++ b/src/utils/DockerUtil.js @@ -262,7 +262,7 @@ export default { }, restart (name) { - this.client.getContainer(name).stop(stopError => { + this.client.getContainer(name).stop({t: 10}, stopError => { if (stopError && stopError.statusCode !== 304) { containerServerActions.error({name, stopError}); return; @@ -278,7 +278,7 @@ export default { }, stop (name) { - this.client.getContainer(name).stop(error => { + this.client.getContainer(name).stop({t: 10}, error => { if (error && error.statusCode !== 304) { containerServerActions.error({name, error}); return;