Merge pull request #20662 from tonistiigi/containerd-integration

Containerd integration
Upstream-commit: e5a3f86e447dd659da3c2e759f3c088a0bfcfe3d
Component: engine
This commit is contained in:
Jess Frazelle
2016-03-18 17:21:18 -07:00
203 changed files with 11699 additions and 5488 deletions

View File

@ -5,6 +5,7 @@ import (
"io"
"io/ioutil"
"strings"
"sync"
"github.com/docker/docker/pkg/broadcaster"
"github.com/docker/docker/pkg/ioutils"
@ -20,6 +21,7 @@ import (
// copied and delivered to all StdoutPipe and StderrPipe consumers, using
// a kind of "broadcaster".
type StreamConfig struct {
sync.WaitGroup
stdout *broadcaster.Unbuffered
stderr *broadcaster.Unbuffered
stdin io.ReadCloser