...

Package legacy

import "github.com/google/go-containerregistry/pkg/legacy"
Overview
Index
Subdirectories

Overview ▾

Package legacy provides functionality to work with docker images in the v1 format. See: https://github.com/moby/moby/blob/master/image/spec/v1.md

Index ▾

Package files

config.go doc.go

type LayerConfigFile

LayerConfigFile is the configuration file that holds the metadata describing a v1 layer. See: https://github.com/moby/moby/blob/master/image/spec/v1.md

type LayerConfigFile struct {
    v1.ConfigFile

    ContainerConfig v1.Config `json:"container_config,omitempty"`

    ID        string `json:"id,omitempty"`
    Parent    string `json:"parent,omitempty"`
    Throwaway bool   `json:"throwaway,omitempty"`
    Comment   string `json:"comment,omitempty"`
}

Subdirectories

Name Synopsis
..
tarball Package tarball provides facilities for writing v1 docker images (https://github.com/moby/moby/blob/master/image/spec/v1.md) from/to a tarball on-disk.