docker

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build added in v0.0.4

func Build(ctx context.Context, pull bool, tag, dockerfile, dir, platform string, buildArgs ...string) error

func Cmd

func Cmd(ctx context.Context, args ...string) error

func CmdOut

func CmdOut(ctx context.Context, args ...string) (string, string, error)

func FormatImgName

func FormatImgName(name string) string

func ImageList added in v0.0.4

func ImageList(ctx context.Context, tag string) ([]string, error)

func ImageSave added in v0.2.0

func ImageSave(ctx context.Context, tag, file string) error

func Pull added in v0.0.4

func Pull(ctx context.Context, platform, tag string) error

func Push added in v0.1.0

func Push(ctx context.Context, tag string) error

func Remove added in v0.0.4

func Remove(ctx context.Context, tag string) error

func RunAndRemove added in v0.1.0

func RunAndRemove(ctx context.Context, args ...string) error

func RunD2VM added in v0.1.0

func RunD2VM(ctx context.Context, image, version, in, out, cmd string, args ...string) error

func RunInteractiveAndRemove added in v0.1.0

func RunInteractiveAndRemove(ctx context.Context, args ...string) error

func Tag added in v0.1.0

func Tag(ctx context.Context, img string, tags ...string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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