Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Preset ¶
type Preset struct {
Image string `yaml:"image"`
Layer map[string][]string `yaml:"x-drun-layer,omitempty"`
Home string `yaml:"-"`
Mounts []string `yaml:"volumes,omitempty"`
Env map[string]string `yaml:"environment,omitempty"`
Ports []string `yaml:"ports,omitempty"`
Entrypoint string `yaml:"entrypoint,omitempty"`
Command []string `yaml:"command,omitempty"`
User string `yaml:"user,omitempty"`
}
Preset describes how to run a container.
Click to show internal directories.
Click to hide internal directories.