dockerapi

package
v0.0.0-...-7438055 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectContainerToNetwork

func ConnectContainerToNetwork(containerID string, networkID string)

connect container to network

func CreateNetwork

func CreateNetwork(networkName string) (networkID string)

func CreateNewContainer

func CreateNewContainer(image string) (container.ContainerCreateCreatedBody, error)

func GetAllContainerState

func GetAllContainerState()

func GetContainerIPAddress

func GetContainerIPAddress(containerID string)

get IP address of a container

func GetContainerState

func GetContainerState(containerID string)

func InspectNetwork

func InspectNetwork(networkName string)

func ListAllContainers

func ListAllContainers()

func ListAllImages

func ListAllImages()

func LogsSpecificContainer

func LogsSpecificContainer(container string)

func PullImage

func PullImage(image string)

func RemoveNetwork

func RemoveNetwork(networkID string)

func StopAllContainers

func StopAllContainers()

func StopContainer

func StopContainer(containerID string)

Stop a container

Types

This section is empty.

Jump to

Keyboard shortcuts

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