Add stderr log ouput if in debug
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
parent
f7eec3dd13
commit
9183242a5d
3 changed files with 4 additions and 3 deletions
|
@ -26,6 +26,7 @@ func (ns *linuxNs) Exec(container *libcontainer.Container, term Terminal, args [
|
|||
if err != nil {
|
||||
return -1, err
|
||||
}
|
||||
ns.logger.Printf("created sync pipe parent fd %d child fd %d\n", syncPipe.parent.Fd(), syncPipe.child.Fd())
|
||||
|
||||
if container.Tty {
|
||||
ns.logger.Println("creating master and console")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue