Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContainer ¶
func NewContainer(ID, name, image string, ports nat.PortMap, envVars containers.EnvVars, cli *client.Client) containers.Container
NewContainer initializes a new containers.Container implementation using Docker.
Types ¶
type CreateContainerInput ¶
type CreateContainerInput struct { Name string Image string Ports nat.PortMap EnvVars containers.EnvVars }
CreateContainerInput is used to group a set of required fields when creating a dockerContainer.
Click to show internal directories.
Click to hide internal directories.