Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Image string // Image Identifier, may be different across executors.
User string // the currently configured user for this image.
WorkDir string // the current working directory on entering a container
Cmd []string // the secondary execution form, it is provided to images if given to docker run, otherwise this is used.
Entrypoint []string // the primary execution form, the first arguments and the exec() jumping-off point.
Env []string
}
Config is a basic configuration of an image at each step. It is kept in sync by commit routines in the executor. Setting properties here will propogate them to various image-manipulating commands when needed.
func (*Config) FromDocker ¶
FromDocker sets *Config properties from a docker *container.Config
Click to show internal directories.
Click to hide internal directories.