container

package
v1.13.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2016 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForwardAllSignals

func ForwardAllSignals(ctx context.Context, cli *command.DockerCli, cid string) chan os.Signal

ForwardAllSignals forwards signals to the container

func MonitorTtySize

func MonitorTtySize(ctx context.Context, cli *command.DockerCli, id string, isExec bool) error

MonitorTtySize updates the container tty size when the terminal tty changes size

func NewAttachCommand

func NewAttachCommand(dockerCli *command.DockerCli) *cobra.Command

NewAttachCommand creates a new cobra.Command for `docker attach`

func NewCommitCommand

func NewCommitCommand(dockerCli *command.DockerCli) *cobra.Command

NewCommitCommand creates a new cobra.Command for `docker commit`

func NewContainerCommand

func NewContainerCommand(dockerCli *command.DockerCli) *cobra.Command

NewContainerCommand returns a cobra command for `container` subcommands

func NewCopyCommand

func NewCopyCommand(dockerCli *command.DockerCli) *cobra.Command

NewCopyCommand creates a new `docker cp` command

func NewCreateCommand

func NewCreateCommand(dockerCli *command.DockerCli) *cobra.Command

NewCreateCommand creates a new cobra.Command for `docker create`

func NewDiffCommand

func NewDiffCommand(dockerCli *command.DockerCli) *cobra.Command

NewDiffCommand creates a new cobra.Command for `docker diff`

func NewExecCommand

func NewExecCommand(dockerCli *command.DockerCli) *cobra.Command

NewExecCommand creats a new cobra.Command for `docker exec`

func NewExportCommand

func NewExportCommand(dockerCli *command.DockerCli) *cobra.Command

NewExportCommand creates a new `docker export` command

func NewKillCommand

func NewKillCommand(dockerCli *command.DockerCli) *cobra.Command

NewKillCommand creates a new cobra.Command for `docker kill`

func NewLogsCommand

func NewLogsCommand(dockerCli *command.DockerCli) *cobra.Command

NewLogsCommand creates a new cobra.Command for `docker logs`

func NewPauseCommand

func NewPauseCommand(dockerCli *command.DockerCli) *cobra.Command

NewPauseCommand creates a new cobra.Command for `docker pause`

func NewPortCommand

func NewPortCommand(dockerCli *command.DockerCli) *cobra.Command

NewPortCommand creates a new cobra.Command for `docker port`

func NewPruneCommand

func NewPruneCommand(dockerCli *command.DockerCli) *cobra.Command

NewPruneCommand returns a new cobra prune command for containers

func NewPsCommand

func NewPsCommand(dockerCli *command.DockerCli) *cobra.Command

NewPsCommand creates a new cobra.Command for `docker ps`

func NewRenameCommand

func NewRenameCommand(dockerCli *command.DockerCli) *cobra.Command

NewRenameCommand creates a new cobra.Command for `docker rename`

func NewRestartCommand

func NewRestartCommand(dockerCli *command.DockerCli) *cobra.Command

NewRestartCommand creates a new cobra.Command for `docker restart`

func NewRmCommand

func NewRmCommand(dockerCli *command.DockerCli) *cobra.Command

NewRmCommand creates a new cobra.Command for `docker rm`

func NewRunCommand

func NewRunCommand(dockerCli *command.DockerCli) *cobra.Command

NewRunCommand create a new `docker run` command

func NewStartCommand

func NewStartCommand(dockerCli *command.DockerCli) *cobra.Command

NewStartCommand creates a new cobra.Command for `docker start`

func NewStatsCommand

func NewStatsCommand(dockerCli *command.DockerCli) *cobra.Command

NewStatsCommand creates a new cobra.Command for `docker stats`

func NewStopCommand

func NewStopCommand(dockerCli *command.DockerCli) *cobra.Command

NewStopCommand creates a new cobra.Command for `docker stop`

func NewTopCommand

func NewTopCommand(dockerCli *command.DockerCli) *cobra.Command

NewTopCommand creates a new cobra.Command for `docker top`

func NewUnpauseCommand

func NewUnpauseCommand(dockerCli *command.DockerCli) *cobra.Command

NewUnpauseCommand creates a new cobra.Command for `docker unpause`

func NewUpdateCommand

func NewUpdateCommand(dockerCli *command.DockerCli) *cobra.Command

NewUpdateCommand creates a new cobra.Command for `docker update`

func NewWaitCommand

func NewWaitCommand(dockerCli *command.DockerCli) *cobra.Command

NewWaitCommand creates a new cobra.Command for `docker wait`

func RunPrune

func RunPrune(dockerCli *command.DockerCli) (uint64, string, error)

RunPrune calls the Container Prune API This returns the amount of space reclaimed and a detailed output string

Types

This section is empty.

Jump to

Keyboard shortcuts

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