mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #444 from lopter/master
Fixe the race condition between docker run and docker logs from #428
This commit is contained in:
commit
0eb425426f
1 changed files with 1 additions and 0 deletions
|
@ -975,6 +975,7 @@ func (srv *Server) CmdRun(stdin io.ReadCloser, stdout rcli.DockerConn, args ...s
|
||||||
}
|
}
|
||||||
Debugf("Waiting for attach to return\n")
|
Debugf("Waiting for attach to return\n")
|
||||||
<-attachErr
|
<-attachErr
|
||||||
|
container.Wait()
|
||||||
// Expecting I/O pipe error, discarding
|
// Expecting I/O pipe error, discarding
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue