container

package
v17.12.1-ce+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2018 License: Apache-2.0 Imports: 51 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.Cli, cid string) chan os.Signal

ForwardAllSignals forwards signals to the container

func MonitorTtySize

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

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

func NewAttachCommand

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

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

func NewCommitCommand

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

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

func NewContainerCommand

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

NewContainerCommand returns a cobra command for `container` subcommands

func NewCopyCommand

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

NewCopyCommand creates a new `docker cp` command

func NewCreateCommand

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

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

func NewDiffCommand

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

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

func NewExecCommand

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

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

func NewExportCommand

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

NewExportCommand creates a new `docker export` command

func NewKillCommand

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

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

func NewLogsCommand

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

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

func NewPauseCommand

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

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

func NewPortCommand

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

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

func NewPruneCommand

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

NewPruneCommand returns a new cobra prune command for containers

func NewPsCommand

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

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

func NewRenameCommand

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

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

func NewRestartCommand

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

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

func NewRmCommand

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

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

func NewRunCommand

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

NewRunCommand create a new `docker run` command

func NewStartCommand

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

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

func NewStatsCommand

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

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

func NewStopCommand

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

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

func NewTopCommand

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

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

func NewUnpauseCommand

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

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

func NewUpdateCommand

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

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

func NewWaitCommand

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

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

func RunPrune

func RunPrune(dockerCli command.Cli, filter opts.FilterOpt) (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