client

package
v0.11.2-0...-c52889d Latest Latest
Warning

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

Go to latest
Published: May 24, 2014 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrConnectionRefused = errors.New("Cannot connect to the Docker daemon. Is 'docker -d' running on this host?")
)

Functions

This section is empty.

Types

type DockerCli

type DockerCli struct {
	// contains filtered or unexported fields
}

func NewDockerCli

func NewDockerCli(in io.ReadCloser, out, err io.Writer, proto, addr string, tlsConfig *tls.Config) *DockerCli

func (*DockerCli) CmdAttach

func (cli *DockerCli) CmdAttach(args ...string) error

func (*DockerCli) CmdBuild

func (cli *DockerCli) CmdBuild(args ...string) error

func (*DockerCli) CmdCommit

func (cli *DockerCli) CmdCommit(args ...string) error

func (*DockerCli) CmdCp

func (cli *DockerCli) CmdCp(args ...string) error

func (*DockerCli) CmdDiff

func (cli *DockerCli) CmdDiff(args ...string) error

func (*DockerCli) CmdEvents

func (cli *DockerCli) CmdEvents(args ...string) error

func (*DockerCli) CmdExport

func (cli *DockerCli) CmdExport(args ...string) error

func (*DockerCli) CmdHelp

func (cli *DockerCli) CmdHelp(args ...string) error

func (*DockerCli) CmdHistory

func (cli *DockerCli) CmdHistory(args ...string) error

func (*DockerCli) CmdImages

func (cli *DockerCli) CmdImages(args ...string) error

func (*DockerCli) CmdImport

func (cli *DockerCli) CmdImport(args ...string) error

func (*DockerCli) CmdInfo

func (cli *DockerCli) CmdInfo(args ...string) error

'docker info': display system-wide information.

func (*DockerCli) CmdInsert

func (cli *DockerCli) CmdInsert(args ...string) error

FIXME: 'insert' is deprecated.

func (*DockerCli) CmdInspect

func (cli *DockerCli) CmdInspect(args ...string) error

func (*DockerCli) CmdKill

func (cli *DockerCli) CmdKill(args ...string) error

'docker kill NAME' kills a running container

func (*DockerCli) CmdLoad

func (cli *DockerCli) CmdLoad(args ...string) error

func (*DockerCli) CmdLogin

func (cli *DockerCli) CmdLogin(args ...string) error

'docker login': login / register a user to registry service.

func (*DockerCli) CmdLogs

func (cli *DockerCli) CmdLogs(args ...string) error

func (*DockerCli) CmdPort

func (cli *DockerCli) CmdPort(args ...string) error

func (*DockerCli) CmdPs

func (cli *DockerCli) CmdPs(args ...string) error

func (*DockerCli) CmdPull

func (cli *DockerCli) CmdPull(args ...string) error

func (*DockerCli) CmdPush

func (cli *DockerCli) CmdPush(args ...string) error

func (*DockerCli) CmdRestart

func (cli *DockerCli) CmdRestart(args ...string) error

func (*DockerCli) CmdRm

func (cli *DockerCli) CmdRm(args ...string) error

func (*DockerCli) CmdRmi

func (cli *DockerCli) CmdRmi(args ...string) error

'docker rmi IMAGE' removes all images with the name IMAGE

func (*DockerCli) CmdRun

func (cli *DockerCli) CmdRun(args ...string) error

func (*DockerCli) CmdSave

func (cli *DockerCli) CmdSave(args ...string) error

func (*DockerCli) CmdSearch

func (cli *DockerCli) CmdSearch(args ...string) error

func (*DockerCli) CmdStart

func (cli *DockerCli) CmdStart(args ...string) error

func (*DockerCli) CmdStop

func (cli *DockerCli) CmdStop(args ...string) error

func (*DockerCli) CmdTag

func (cli *DockerCli) CmdTag(args ...string) error

func (*DockerCli) CmdTop

func (cli *DockerCli) CmdTop(args ...string) error

func (*DockerCli) CmdVersion

func (cli *DockerCli) CmdVersion(args ...string) error

'docker version': show version information

func (*DockerCli) CmdWait

func (cli *DockerCli) CmdWait(args ...string) error

'docker wait': block until a container stops

func (*DockerCli) HTTPClient

func (cli *DockerCli) HTTPClient() *http.Client

func (*DockerCli) LoadConfigFile

func (cli *DockerCli) LoadConfigFile() (err error)

func (*DockerCli) ParseCommands

func (cli *DockerCli) ParseCommands(args ...string) error

func (*DockerCli) Subcmd

func (cli *DockerCli) Subcmd(name, signature, description string) *flag.FlagSet

func (*DockerCli) WalkTree

func (cli *DockerCli) WalkTree(noTrunc bool, images *engine.Table, byParent map[string]*engine.Table, prefix string, printNode func(cli *DockerCli, noTrunc bool, image *engine.Env, prefix string))

FIXME: --viz and --tree are deprecated. Remove them in a future version.

Jump to

Keyboard shortcuts

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