rescontainerdocker

package
v3.0.0-rc74 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: Apache-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DrvID = driver.NewID(driver.GroupContainer, "docker")
)

Functions

func IsGenuine

func IsGenuine(ctx context.Context) bool

func New

func New() resource.Driver

Types

type ExecutorArg

type ExecutorArg struct {
	*rescontainerocibase.ExecutorArg
	// contains filtered or unexported fields
}

func (*ExecutorArg) CgroupManagerArgs

func (ea *ExecutorArg) CgroupManagerArgs() []string

CgroupManagerArgs implements rescontainerocibase.CgroupManagerArgser: the arguments of the command printing the cgroup manager the engine places its containers with.

func (*ExecutorArg) RunArgsBase

func (ea *ExecutorArg) RunArgsBase(ctx context.Context) (*args.T, error)

RunArgsBase append extra args for docker

func (*ExecutorArg) WaitNotRunning

func (ea *ExecutorArg) WaitNotRunning(ctx context.Context) error

func (*ExecutorArg) WaitRemoved

func (ea *ExecutorArg) WaitRemoved(ctx context.Context) error

type T

type T struct {
	rescontainerocibase.BT
}

func (*T) Configure

func (t *T) Configure() error

func (*T) DriverID

func (t *T) DriverID() driver.ID

func (*T) Manifest

func (t *T) Manifest() *manifest.T

Manifest exposes to the core the input expected by the driver.

func (*T) PullOf

func (t *T) PullOf(src resource.HoldSource) (resource.Pull, bool)

PullOf implements resource.PullDescriber: the image is pulled to the store of dockerd, the one store docker has.

func (*T) Status

func (t *T) Status(ctx context.Context) status.T

Status improve BT.Status with userns checks

Jump to

Keyboard shortcuts

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