container

package
v0.0.0-...-5652a8f Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package container has all the functions for docker container operations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNewContainer

func CreateNewContainer(image string) (string, error)

CreateNewContainer creates a new container from given image

func ListContainer

func ListContainer() error

ListContainer lists all the containers running on host machine

func PruneContainers

func PruneContainers() error

PruneContainers clears all containers that are not running

func StopContainer

func StopContainer(containerID string) error

StopContainer stops the container of given ID

Types

This section is empty.

Jump to

Keyboard shortcuts

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