create

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 13 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 {
	*shared.ContainerOptions

	IOStreams  *iostreams.IOStreams
	TUI        *tui.TUI
	Client     func(context.Context) (*docker.Client, error)
	Config     func() *config.Config
	GitManager func() (*git.GitManager, error)
	HostProxy  func() hostproxy.HostProxyService
	Prompter   func() *prompter.Prompter
	Version    string
	// 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