docker

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDockerCli

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

func FindContainerIDByName

func FindContainerIDByName(ctx context.Context, cli *client.Client, containerName string) (string, error)

func RemoveContainer

func RemoveContainer(ctx context.Context, cli *client.Client, containerID string) error

RemoveContainer removes the specified container by its ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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