mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 14:14:39 +00:00
Dockershim: print docker info output at startup
This commit is contained in:
@@ -202,6 +202,7 @@ func NewDockerService(client libdocker.Interface, podSandboxImage string, stream
|
||||
// NOTE: cgroup driver is only detectable in docker 1.11+
|
||||
cgroupDriver := defaultCgroupDriver
|
||||
dockerInfo, err := ds.client.Info()
|
||||
glog.Infof("Docker Info: %+v", dockerInfo)
|
||||
if err != nil {
|
||||
glog.Errorf("Failed to execute Info() call to the Docker client: %v", err)
|
||||
glog.Warningf("Falling back to use the default driver: %q", cgroupDriver)
|
||||
|
Reference in New Issue
Block a user