mirror of https://github.com/docker/docs.git
commit
7eb5262d1b
|
@ -154,6 +154,8 @@ func (d *Daemon) ContainerExecCreate(job *engine.Job) engine.Status {
|
||||||
Running: false,
|
Running: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
container.LogEvent("exec_create: " + execConfig.ProcessConfig.Entrypoint + " " + strings.Join(execConfig.ProcessConfig.Arguments, " "))
|
||||||
|
|
||||||
d.registerExecCommand(execConfig)
|
d.registerExecCommand(execConfig)
|
||||||
|
|
||||||
job.Printf("%s\n", execConfig.ID)
|
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)
|
log.Debugf("starting exec command %s in container %s", execConfig.ID, execConfig.Container.ID)
|
||||||
container := execConfig.Container
|
container := execConfig.Container
|
||||||
|
|
||||||
|
container.LogEvent("exec_start: " + execConfig.ProcessConfig.Entrypoint + " " + strings.Join(execConfig.ProcessConfig.Arguments, " "))
|
||||||
|
|
||||||
if execConfig.OpenStdin {
|
if execConfig.OpenStdin {
|
||||||
r, w := io.Pipe()
|
r, w := io.Pipe()
|
||||||
go func() {
|
go func() {
|
||||||
|
|
|
@ -1380,7 +1380,7 @@ polling (using since).
|
||||||
|
|
||||||
Docker containers will report the following events:
|
Docker containers will report the following events:
|
||||||
|
|
||||||
create, destroy, die, export, kill, oom, pause, restart, start, stop, unpause
|
create, destroy, die, exec_create, exec_start, export, kill, oom, pause, restart, start, stop, unpause
|
||||||
|
|
||||||
and Docker images will report:
|
and Docker images will report:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue