Documentation ¶
Overview ¶
package container contains convenience functions for manipulating containers
Index ¶
- Variables
- func ContainerLogs(id string, out io.Writer) error
- func IpAddr(containerId string) (string, error)
- func KillContainer(id string) error
- func NewDockerClientFromEnv() (*docker.Client, error)
- func PipeToStdin(id string, in io.Reader) error
- func PullImage(image string) error
- func RawStartContainer(opts docker.CreateContainerOptions) (string, error)
- func StartContainer(image string, command []string) (string, error)
- func StopContainer(id string) error
- func WaitContainer(id string) (int, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func KillContainer ¶
func NewDockerClientFromEnv ¶
func NewDockerClientFromEnv() (*docker.Client, error)
func RawStartContainer ¶
func StopContainer ¶
func WaitContainer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.