create

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package create provides the container create command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCreate

func NewCmdCreate(f *cmdutil.Factory, runF func(context.Context, *CreateOptions) error) *cobra.Command

NewCmdCreate creates a new container create command.

Types

type CreateOptions

type CreateOptions struct {
	*copts.ContainerOptions

	IOStreams   *iostreams.IOStreams
	TUI         *tui.TUI
	Client      func(context.Context) (*docker.Client, error)
	Config      func() *config.Config
	Prompter    func() *prompter.Prompter
	Initializer *shared.ContainerInitializer
	// contains filtered or unexported fields
}

CreateOptions holds options for the create command. It embeds ContainerOptions for shared container configuration.

Jump to

Keyboard shortcuts

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