Merge pull request #1478 from justincormack/no-log-driver

Disable log driver for docker run
This commit is contained in:
Justin Cormack 2017-04-04 09:53:47 +01:00 committed by GitHub
commit 11555b5a44

View File

@ -24,7 +24,7 @@ func dockerRun(args ...string) ([]byte, error) {
if err != nil {
return []byte{}, errors.New("Docker does not seem to be installed")
}
args = append([]string{"run", "--rm"}, args...)
args = append([]string{"run", "--rm", "--log-driver=none"}, args...)
cmd := exec.Command(docker, args...)
stderrPipe, err := cmd.StderrPipe()