Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CommunityEngineImage is the repo name for the community engine CommunityEngineImage = "engine-community" // EnterpriseEngineImage is the repo name for the enterprise engine EnterpriseEngineImage = "engine-enterprise" // RegistryPrefix is the default prefix used to pull engine images RegistryPrefix = "docker.io/store/docker" // ReleaseNotePrefix is where to point users to for release notes ReleaseNotePrefix = "https://docs.docker.com/releasenotes" // RuntimeMetadataName is the name of the runtime metadata file // When stored as a label on the container it is prefixed by "com.docker." RuntimeMetadataName = "distribution_based_engine" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvailableVersions ¶
type AvailableVersions struct { Downgrades []DockerVersion Patches []DockerVersion Upgrades []DockerVersion }
AvailableVersions groups the available versions which were discovered
type ContainerizedClient ¶
type ContainerizedClient interface { Close() error ActivateEngine(ctx context.Context, opts EngineInitOptions, out OutStream, authConfig *types.AuthConfig) error DoUpdate(ctx context.Context, opts EngineInitOptions, out OutStream, authConfig *types.AuthConfig) error }
ContainerizedClient can be used to manage the lifecycle of dockerd running as a container on containerd.
type DockerVersion ¶
DockerVersion wraps a semantic version to retain the original tag since the docker date based versions don't strictly follow semantic versioning (leading zeros, etc.)
type EngineInitOptions ¶
type EngineInitOptions struct { RegistryPrefix string EngineImage string EngineVersion string ConfigFile string RuntimeMetadataDir string }
EngineInitOptions contains the configuration settings use during initialization of a containerized docker engine
Click to show internal directories.
Click to hide internal directories.