Decode container configurations into typed structures.
Signed-off-by: David Calavera <david.calavera@gmail.com> Upstream-commit: 767df67e3149b83255db0809f6543b449a4f652e Component: engine
This commit is contained in:
@ -132,7 +132,8 @@ func (d *Daemon) ContainerExecCreate(job *engine.Job) error {
|
||||
return err
|
||||
}
|
||||
|
||||
entrypoint, args := d.getEntrypointAndArgs(nil, config.Cmd)
|
||||
cmd := runconfig.NewCommand(config.Cmd...)
|
||||
entrypoint, args := d.getEntrypointAndArgs(runconfig.NewEntrypoint(), cmd)
|
||||
|
||||
processConfig := execdriver.ProcessConfig{
|
||||
Tty: config.Tty,
|
||||
|
||||
Reference in New Issue
Block a user