Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDockerClient ¶
func NewDockerClient() (_type.ContainerClient, error)
NewDockerClient initialises the docker daemon client. It returns an error instead of panicking so the caller can fail gracefully.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps the docker SDK client.
func (*Client) CommitImageFromSelf ¶
CommitImageFromSelf commits the live container into a new image reference.
Click to show internal directories.
Click to hide internal directories.