docker

package
v0.0.0-...-60784e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDaemonRunning

func CheckDaemonRunning() error

CheckDaemonRunning verifies the Docker daemon is reachable, returning an actionable error when it is not. Creating the client is lazy — it succeeds even when Docker is stopped — so commands that need Docker (local kind clusters, the local registry, mirrors, the DNS resolver, docker workshops) call this as a preflight. Without it a stopped daemon surfaces a cryptic failure deep inside kind ("docker ps ... exit status 1") or the Docker SDK.

func NewDockerClient

func NewDockerClient() (*client.Client, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL