Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Composerize ¶
Transform docker run command into docker-compose.yml using composerize in a subprocess First line will be a comment followed by the docker run command. Caller sanitizes input returns stdout as stirng
Types ¶
type DockerInstance ¶
func (DockerInstance) ComposerizeByIdOrName ¶
func (instance DockerInstance) ComposerizeByIdOrName(idOrName string)
func (DockerInstance) GetContainerIds ¶
func (instance DockerInstance) GetContainerIds() []string
func (DockerInstance) Inspect ¶
func (instance DockerInstance) Inspect(containerIdOrName string) Container
func (DockerInstance) ListById ¶
func (instance DockerInstance) ListById()
func (DockerInstance) ListByName ¶
func (instance DockerInstance) ListByName()
Click to show internal directories.
Click to hide internal directories.