mirror of https://github.com/docker/docs.git
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:
parent
fe50b66c88
commit
ad0d7e003f
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue