mirror of
https://github.com/moby/moby.git
synced 2026-07-24 16:26:51 +00:00
Use `exec.Command` created by this function instead of obtaining it from daemon struct. This prevents a race condition where `daemon.Kill` is called before the goroutine has the chance to call `cmd.Wait`. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>