docker

package
v0.29.5-geaaru Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadAndExtractDockerImage

func DownloadAndExtractDockerImage(temp, image, dest string, auth *types.AuthConfig, verify bool) (*images.Image, error)

DownloadAndExtractDockerImage extracts a container image natively. It supports privileged/unprivileged mode

func StripInvalidStringsFromImage

func StripInvalidStringsFromImage(s string) string

func UnarchiveLayers

func UnarchiveLayers(temp string, img v1.Image, image, dest string, auth *types.AuthConfig, verify bool) (int64, error)

UnarchiveLayers extract layers with archive.Untar from docker instead of containerd

Types

This section is empty.

Jump to

Keyboard shortcuts

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