mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-24 19:28:09 +00:00
Merge pull request #1478 from justincormack/no-log-driver
Disable log driver for docker run
This commit is contained in:
commit
11555b5a44
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user