container

package
v2.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 61 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCpCommand

func AddCpCommand(rootCmd *cobra.Command)

func AttachCommand added in v2.0.4

func AttachCommand() *cobra.Command

func Command added in v2.0.4

func Command() *cobra.Command

func CommitCommand added in v2.0.4

func CommitCommand() *cobra.Command

func CreateCommand added in v2.0.4

func CreateCommand() *cobra.Command

func DiffCommand added in v2.0.4

func DiffCommand() *cobra.Command

func ExecCommand added in v2.0.4

func ExecCommand() *cobra.Command

func ExportCommand added in v2.1.4

func ExportCommand() *cobra.Command

func HealthCheckCommand added in v2.1.3

func HealthCheckCommand() *cobra.Command

HealthCheckCommand returns a cobra command for `nerdctl container healthcheck`

func InspectOptions added in v2.0.4

func InspectOptions(cmd *cobra.Command) (opt types.ContainerInspectOptions, err error)

func KillCommand added in v2.0.4

func KillCommand() *cobra.Command

func LogsCommand added in v2.0.4

func LogsCommand() *cobra.Command

func PauseCommand added in v2.0.4

func PauseCommand() *cobra.Command

func PortCommand added in v2.0.4

func PortCommand() *cobra.Command

func PsCommand added in v2.0.4

func PsCommand() *cobra.Command

func RemoveCommand added in v2.0.4

func RemoveCommand() *cobra.Command

func RenameCommand added in v2.0.4

func RenameCommand() *cobra.Command

func RestartCommand added in v2.0.4

func RestartCommand() *cobra.Command

func RunCommand added in v2.0.4

func RunCommand() *cobra.Command

func StartCommand added in v2.0.4

func StartCommand() *cobra.Command

func StatsCommand added in v2.0.4

func StatsCommand() *cobra.Command

func StopCommand added in v2.0.4

func StopCommand() *cobra.Command

func TopCommand added in v2.0.4

func TopCommand() *cobra.Command

func UnpauseCommand added in v2.0.4

func UnpauseCommand() *cobra.Command

func UpdateCommand added in v2.0.4

func UpdateCommand() *cobra.Command

func WaitCommand added in v2.0.4

func WaitCommand() *cobra.Command

Types

type FormattingAndPrintingOptions

type FormattingAndPrintingOptions struct {
	Stdout io.Writer
	// Only display container IDs.
	Quiet bool
	// Format the output using the given Go template (e.g., '{{json .}}', 'table', 'wide').
	Format string
	// Display total file sizes.
	Size bool
}

FormattingAndPrintingOptions specifies options for formatting and printing of `nerdctl (container) list`.

Jump to

Keyboard shortcuts

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