Documentation
¶
Index ¶
- Variables
- func Build(dir, dockerfile, imageName string, secrets []string, noCache bool, ...) error
- func BuildAddLabelsAndSchemaToImage(image string, labels map[string]string, bundledSchemaFile string, ...) error
- func ContainerInspect(id string) (*types.ContainerJSON, error)
- func ContainerLogsFollow(containerID string, out io.Writer) error
- func GetPort(containerID string, containerPort int) (int, error)
- func ImageExists(id string) (bool, error)
- func ImageInspect(id string) (*types.ImageInspect, error)
- func ManifestInspect(image string) error
- func Pull(image string) error
- func Push(image string) error
- func Run(options RunOptions) error
- func RunDaemon(options RunOptions, stderr io.Writer) (string, error)
- func RunWithIO(options RunOptions, stdin io.Reader, stdout, stderr io.Writer) error
- func SaveLoginToken(registryHost string, username string, token string) error
- func Stop(id string) error
- type Port
- type RunOptions
- type Volume
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingDeviceDriver = errors.New("Docker is missing required device driver")
View Source
var ErrNoSuchImage = errors.New("No image returned")
Functions ¶
func ContainerInspect ¶
func ContainerInspect(id string) (*types.ContainerJSON, error)
func ImageExists ¶
func ImageInspect ¶
func ImageInspect(id string) (*types.ImageInspect, error)
func ManifestInspect ¶
func Run ¶
func Run(options RunOptions) error
Types ¶
type RunOptions ¶
Click to show internal directories.
Click to hide internal directories.