Documentation
¶
Overview ¶
Package doctor provides host prerequisite checks for sind.
Index ¶
Constants ¶
View Source
const MinDockerMajor = 28
MinDockerMajor is the minimum required Docker Engine major version.
Variables ¶
This section is empty.
Functions ¶
func CgroupInfo ¶
CgroupInfo reads /proc/mounts from fs and returns the cgroup2 mount path, whether cgroup2 is mounted at all, and whether nsdelegate is enabled.
func CheckDockerVersion ¶
CheckDockerVersion returns an error if the Docker version string is below MinDockerMajor or cannot be parsed.
func ParseVersion ¶
ParseVersion extracts the major and minor version numbers from a Docker version string such as "28.0.0" or "29.3.1-beta.1".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.