docker: github.com/stevvooe/docker/cli/command/container Index | Files

package container

import "github.com/stevvooe/docker/cli/command/container"

Index

Package Files

attach.go cmd.go commit.go cp.go create.go diff.go exec.go export.go hijack.go inspect.go kill.go list.go logs.go pause.go port.go prune.go rename.go restart.go rm.go run.go start.go stats.go stats_helpers.go stop.go top.go tty.go unpause.go update.go utils.go wait.go

func ForwardAllSignals Uses

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

ForwardAllSignals forwards signals to the container

func MonitorTtySize Uses

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 Uses

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

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

func NewCommitCommand Uses

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

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

func NewContainerCommand Uses

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

NewContainerCommand returns a cobra command for `container` subcommands

func NewCopyCommand Uses

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

NewCopyCommand creates a new `docker cp` command

func NewCreateCommand Uses

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

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

func NewDiffCommand Uses

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

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

func NewExecCommand Uses

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

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

func NewExportCommand Uses

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

NewExportCommand creates a new `docker export` command

func NewKillCommand Uses

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

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

func NewLogsCommand Uses

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

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

func NewPauseCommand Uses

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

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

func NewPortCommand Uses

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

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

func NewPruneCommand Uses

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

NewPruneCommand returns a new cobra prune command for containers

func NewPsCommand Uses

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

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

func NewRenameCommand Uses

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

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

func NewRestartCommand Uses

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

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

func NewRmCommand Uses

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

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

func NewRunCommand Uses

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

NewRunCommand create a new `docker run` command

func NewStartCommand Uses

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

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

func NewStatsCommand Uses

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

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

func NewStopCommand Uses

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

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

func NewTopCommand Uses

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

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

func NewUnpauseCommand Uses

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

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

func NewUpdateCommand Uses

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

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

func NewWaitCommand Uses

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

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

func RunPrune Uses

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

Package container imports 45 packages (graph). Updated 2017-06-13. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).