package
22.10.0+incompatible
Repository: https://github.com/crazy-max/docker-cli.git
Documentation: pkg.go.dev

# Functions

DiffFormatWrite writes formatted diff using the Context.
ForwardAllSignals forwards signals to the container The channel you pass in must already be setup to receive any signals you want to forward.
MonitorTtySize updates the container tty size when the terminal tty changes size.
NewAttachCommand creates a new cobra.Command for `docker attach`.
NewCommitCommand creates a new cobra.Command for `docker commit`.
NewContainerCommand returns a cobra command for `container` subcommands.
NewCopyCommand creates a new `docker cp` command.
NewCreateCommand creates a new cobra.Command for `docker create`.
NewDiffCommand creates a new cobra.Command for `docker diff`.
NewDiffFormat returns a format for use with a diff Context.
NewExecCommand creates a new cobra.Command for `docker exec`.
NewExportCommand creates a new `docker export` command.
NewKillCommand creates a new cobra.Command for `docker kill`.
NewLogsCommand creates a new cobra.Command for `docker logs`.
NewPauseCommand creates a new cobra.Command for `docker pause`.
NewPortCommand creates a new cobra.Command for `docker port`.
NewPruneCommand returns a new cobra prune command for containers.
NewPsCommand creates a new cobra.Command for `docker ps`.
NewRenameCommand creates a new cobra.Command for `docker rename`.
NewRestartCommand creates a new cobra.Command for `docker restart`.
NewRmCommand creates a new cobra.Command for `docker rm`.
NewRunCommand create a new `docker run` command.
NewStartCommand creates a new cobra.Command for `docker start`.
NewStats returns a new Stats entity and sets in it the given name.
NewStatsCommand creates a new cobra.Command for `docker stats`.
NewStatsFormat returns a format for rendering an CStatsContext.
NewStopCommand creates a new cobra.Command for `docker stop`.
NewTopCommand creates a new cobra.Command for `docker top`.
NewUnpauseCommand creates a new cobra.Command for `docker unpause`.
NewUpdateCommand creates a new cobra.Command for `docker update`.
NewWaitCommand creates a new cobra.Command for `docker wait`.
RunPrune calls the Container Prune API This returns the amount of space reclaimed and a detailed output string.

# Constants

Pull constants.
Default (matches previous behavior).
Pull constants.

# Structs

Stats represents an entity to store containers statistics synchronously.
StatsEntry represents represents the statistics data collected from a container.