pkg

package
v0.0.0-...-e35553e Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractImage

func ExtractImage(imageOpt types.ImageOptions) (*types.Container, error)

func ExtractTar

func ExtractTar(tarPath, destPath string, gz bool) error

func PullImage

func PullImage(imageOpt types.ImageOptions) error

PullImage pulls a docker image from a registry and saves it as a tarball. It reports progress and returns an error if the image cannot be pulled or saved.

func ReadImage

func ReadImage(filename string) (*types.Image, error)

func ReadManifest

func ReadManifest(filename string) (*types.Manifest, error)

func Run

func Run(imageOpt types.ImageOptions, args []string) error

func RunContainer

func RunContainer(args []string) error

func Untar

func Untar(dst string, r io.Reader) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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