Merge pull request #661 from crosbymichael/stdin-closer

Open stdin write side in shim
This commit is contained in:
Phil Estes
2017-04-03 12:25:43 -04:00
committed by GitHub
4 changed files with 32 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ import (
gocontext "context"
"encoding/json"
"fmt"
"os"
"path/filepath"
"runtime"
"strconv"
@@ -260,6 +261,7 @@ var runCommand = cli.Command{
if err != nil {
return err
}
defer os.RemoveAll(tmpDir)
events, err := containers.Events(ctx, &execution.EventsRequest{})
if err != nil {
return err