containers

package
v0.0.0-...-c0979cf Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFromContainer

func CopyFromContainer(containerId, srcPath string)

TO BE TESTED

func List

func List(all bool, limit int)

func Logs

func Logs(containerId string, follow bool)

func Prune

func Prune()

func Remove

func Remove(containerId string, force bool)

NOT WORKING :( error message: Conflict, cannot remove the default name of the container

func RemoveAll

func RemoveAll()

TO BE TESTED

func Run

func Run(dockerImage string, ports []string, containerName string) string

func RunAndWait

func RunAndWait(dockerImage string, ports []string, containerName string) string

HANGING :(

func Stop

func Stop(containerId string, timeout time.Duration)

func StopAll

func StopAll()

Types

This section is empty.

Jump to

Keyboard shortcuts

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