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 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 BuildAddLabelsAndSchemaToImage ¶ added in v0.9.5
func ContainerInspect ¶ added in v0.0.8
func ContainerInspect(id string) (*types.ContainerJSON, error)
func ContainerLogsFollow ¶ added in v0.0.8
func ImageExists ¶ added in v0.0.14
func ImageInspect ¶ added in v0.0.14
func ImageInspect(id string) (*types.ImageInspect, error)
func Run ¶ added in v0.0.8
func Run(options RunOptions) error
func RunDaemon ¶ added in v0.0.8
func RunDaemon(options RunOptions, stderr io.Writer) (string, error)
func SaveLoginToken ¶ added in v0.0.8
Types ¶
type RunOptions ¶ added in v0.0.8
Click to show internal directories.
Click to hide internal directories.