package
0.20.3
Repository: https://github.com/google/go-containerregistry.git
Documentation: pkg.go.dev

# README

daemon

GoDoc

The daemon package enables reading/writing images from/to the docker daemon.

It is not fully fleshed out, but is useful for interoperability, see various issues:

# Functions

Image provides access to an image reference from the Docker daemon, applying functional options to the underlying imageOpener before resolving the reference into a v1.Image.
Tag adds a tag to an already existent image.
WithBufferedOpener buffers the image.
WithClient is a functional option to allow injecting a docker client.
WithContext is a functional option to pass through a context.Context.
WithUnbufferedOpener streams the image to avoid buffering.
Write saves the image into the daemon as the given tag.

# Interfaces

Client represents the subset of a docker client that the daemon package uses.

# Type aliases

ImageOption is an alias for Option.
Option is a functional option for daemon operations.