Fix bug where container would be run with bash even with a valid entrypoint

Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
This commit is contained in:
Jeffrey Morgan 2015-12-13 18:37:05 -08:00
parent fe50b66c88
commit ad0d7e003f
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ export default {
return;
}
containerData.Cmd = image.Config.Cmd || 'bash';
containerData.Cmd = image.Config.Cmd || image.Config.Entrypoint || 'bash';
let existing = this.client.getContainer(name);
existing.kill(() => {
existing.remove(() => {