Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleContainer ¶
type SimpleContainer struct {
// contains filtered or unexported fields
}
func CreateContainer ¶
func CreateContainer( name string, image string, publish []string, env map[string]string, ) (*SimpleContainer, error)
publish - "2222:22", "127.0.0.1:80:8080"
func (*SimpleContainer) Remove ¶
func (sc *SimpleContainer) Remove() error
func (*SimpleContainer) Stop ¶
func (sc *SimpleContainer) Stop() error
Click to show internal directories.
Click to hide internal directories.