Merge pull request #1301 from docker/fix-bash-entrypoint

Fix bug where container would be run with bash even thought it has a valid entrypoint
This commit is contained in:
Jeffrey Morgan 2015-12-13 18:39:06 -08:00
commit 0cc18ddf9b
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(() => {