Documentation ¶
Index ¶
- Constants
- func CloseContainer(id string) error
- func CreateContainer(dockerImage Image, dir string, port string) (container.ContainerCreateCreatedBody, error)
- func GetLocalIPAddressFromContainer(containerID string) (string, error)
- func HasImage(name string) (bool, error)
- func PullImage(imageName string) error
- func StartContainer(containerBody container.ContainerCreateCreatedBody) error
- type Docker
- type Image
- type Port
Constants ¶
View Source
const ( DefaultImageName = "golang" DefaultImageTag = "1.9" )
Variables ¶
This section is empty.
Functions ¶
func CloseContainer ¶ added in v0.1.1
func CreateContainer ¶ added in v0.2.0
func GetLocalIPAddressFromContainer ¶ added in v0.1.1
func StartContainer ¶
func StartContainer(containerBody container.ContainerCreateCreatedBody) error
Types ¶
type Image ¶
func (Image) GetFullName ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.