MCPcopy Create free account
hub / github.com/ddev/ddev / GetDockerClientInfo

Function GetDockerClientInfo

pkg/dockerutil/docker_manager.go:115–121  ·  view source on GitHub ↗

GetDockerClientInfo returns the Docker system information from the daemon

()

Source from the content-addressed store, hash-verified

113
114// GetDockerClientInfo returns the Docker system information from the daemon
115func GetDockerClientInfo() (system.Info, error) {
116 dm, err := getDockerManagerInstance()
117 if err != nil {
118 return system.Info{}, err
119 }
120 return dm.info, nil
121}
122
123// GetDockerContextNameAndHost returns the Docker context name and host
124func GetDockerContextNameAndHost() (string, string, error) {

Callers 8

GetDockerPlatformFunction · 0.92
IsDockerDesktopFunction · 0.85
IsColimaFunction · 0.85
IsLimaFunction · 0.85
IsRancherDesktopFunction · 0.85
IsOrbStackFunction · 0.85
IsRootlessFunction · 0.85
IsSELinuxFunction · 0.85

Calls 1

getDockerManagerInstanceFunction · 0.85

Tested by

no test coverage detected