mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-10-31 14:45:34 +00:00 
			
		
		
		
	Disable log driver for docker run
We are generally outputting to stdout pipe which the log driver does not cope with very well; always did this in older builds. Saves another 5% of build time. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
		| @@ -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() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user