docker

package
v0.0.0-...-e06cd52 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorDockerNotAvailable = errors.New("docker executable not found on the system or the service is stopped")
View Source
var ErrorNotImplementedForOS = errors.New("docker support not implemented for " + runtime.GOOS)

Functions

func ContainerNameByID

func ContainerNameByID(id string) (string, error)

ContainerNameByID returns the name of a container identified by its id

func ListContainers

func ListContainers() (map[string]interface{}, error)

ListContainers returns the parsed output of 'docker ps' command

Types

This section is empty.

Jump to

Keyboard shortcuts

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