docker

package
v0.0.0-...-2a2c708 Latest Latest
Warning

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

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

Documentation

Overview

Package docker builds a Docker SDK client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(host string) (*client.Client, error)

NewClient builds a Docker client.

Host resolution order:

  1. host argument (from config docker.host)
  2. DOCKER_HOST environment variable
  3. active Docker CLI context (DOCKER_CONTEXT env or currentContext in ~/.docker/config.json)
  4. SDK default (platform socket)

Types

This section is empty.

Jump to

Keyboard shortcuts

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