Documentation ¶
Index ¶
- Variables
- func Build(dir, dockerfile, imageUrl string, progressOutput string, writer io.Writer, ...) error
- func BuildAddLabelsToImage(image string, labels map[string]string) error
- func BuildAndPush(dir, dockerfile, imageUrl string, progressOutput string, writer io.Writer) 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) (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 BuildAddLabelsToImage ¶
func BuildAndPush ¶ added in v0.0.21
func ContainerInspect ¶
func ContainerInspect(id string) (*types.ContainerJSON, error)
func ImageExists ¶
func ImageInspect ¶
func ImageInspect(id string) (*types.ImageInspect, error)
func Run ¶
func Run(options RunOptions) error
func RunDaemon ¶
func RunDaemon(options RunOptions) (string, error)
Types ¶
type RunOptions ¶
Click to show internal directories.
Click to hide internal directories.