Documentation
¶
Index ¶
- func ExtractImage(imageOpt types.ImageOptions) (*types.Container, error)
- func ExtractTar(tarPath, destPath string, gz bool) error
- func PullImage(imageOpt types.ImageOptions) error
- func ReadImage(filename string) (*types.Image, error)
- func ReadManifest(filename string) (*types.Manifest, error)
- func Run(imageOpt types.ImageOptions, args []string) error
- func RunContainer(args []string) error
- func Untar(dst string, r io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractImage ¶
func ExtractImage(imageOpt types.ImageOptions) (*types.Container, error)
func ExtractTar ¶
func PullImage ¶
func PullImage(imageOpt types.ImageOptions) error
PullImage pulls a docker image from a registry and saves it as a tarball. It reports progress and returns an error if the image cannot be pulled or saved.
func RunContainer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.