Documentation
¶
Overview ¶
Package dockerops holds the label keys and Docker operations that the dockermanage package and the dockermanage command share.
Index ¶
Constants ¶
const ( // ManagedLabelKey marks containers that dockermanage created. The value is the container type, // for example "postgres". ManagedLabelKey = "pressly.dockermanage" // SessionLabelKey identifies the Manager that started a container. SessionLabelKey = ManagedLabelKey + ".session" )
Variables ¶
This section is empty.
Functions ¶
func RemoveContainer ¶
RemoveContainer force removes a container and its anonymous volumes. A container that does not exist is not an error. If Docker is already removing the container, for example because of auto-remove, it tries again until the container is gone or the other removal fails.
Types ¶
This section is empty.