easy_docker

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 License: MIT Imports: 3 Imported by: 0

README

easy_docker

easy_docker

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Restart added in v0.0.2

func Restart(ik string) error

func Rm

func Rm(ik string) error

func Stop

func Stop(ik string) error

Stop ik: docker name or docker id

Types

type Image

type Image struct {
	Pepository string `json:"pepository"`
	Tag        string `json:"tag"`
	ImageID    string `json:"image_id"`
}

func Images

func Images() ([]Image, error)

type PsItem

type PsItem struct {
	ContainerID string `json:"container_id"`
	Image       string `json:"image"`
	Names       string `json:"names"`
}

func Ps

func Ps() ([]PsItem, error)

Jump to

Keyboard shortcuts

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