Merge pull request #702 from crosbymichael/attach

Expose Pty resize and CloseStdin RPCs
This commit is contained in:
Phil Estes
2017-04-10 14:38:30 -04:00
committed by GitHub
15 changed files with 1031 additions and 231 deletions

View File

@@ -112,10 +112,7 @@ func (r *Runtime) Create(ctx context.Context, id string, opts containerd.CreateO
os.RemoveAll(path)
return nil, err
}
c := &Container{
id: id,
shim: s,
}
c := newContainer(id, s)
// after the container is create add it to the monitor
if err := r.monitor.Monitor(c); err != nil {
return nil, err