|
@@ -154,6 +154,8 @@ func (d *Daemon) ContainerExecCreate(job *engine.Job) engine.Status {
|
|
|
Running: false,
|
|
|
}
|
|
|
|
|
|
+ container.LogEvent("exec_create: " + execConfig.ProcessConfig.Entrypoint + " " + strings.Join(execConfig.ProcessConfig.Arguments, " "))
|
|
|
+
|
|
|
d.registerExecCommand(execConfig)
|
|
|
|
|
|
job.Printf("%s\n", execConfig.ID)
|
|
@@ -192,6 +194,8 @@ func (d *Daemon) ContainerExecStart(job *engine.Job) engine.Status {
|
|
|
log.Debugf("starting exec command %s in container %s", execConfig.ID, execConfig.Container.ID)
|
|
|
container := execConfig.Container
|
|
|
|
|
|
+ container.LogEvent("exec_start: " + execConfig.ProcessConfig.Entrypoint + " " + strings.Join(execConfig.ProcessConfig.Arguments, " "))
|
|
|
+
|
|
|
if execConfig.OpenStdin {
|
|
|
r, w := io.Pipe()
|
|
|
go func() {
|