mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #83548 from yutedz/docker-info-cmd
Show the complete docker info command
This commit is contained in:
		@@ -48,7 +48,7 @@ func GetCgroupDriverDocker(execer utilsexec.Interface) (string, error) {
 | 
			
		||||
func callDockerInfo(execer utilsexec.Interface) (string, error) {
 | 
			
		||||
	out, err := execer.Command("docker", "info", "-f", "{{.CgroupDriver}}").Output()
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return "", errors.Wrap(err, "cannot execute 'docker info'")
 | 
			
		||||
		return "", errors.Wrap(err, "cannot execute 'docker info -f {{.CgroupDriver}}'")
 | 
			
		||||
	}
 | 
			
		||||
	return string(out), nil
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user