Documentation ¶
Index ¶
- Constants
- func Cleanup(c *cli.Context, o *container.Options) error
- func Flags(opts *Options) []cli.Flag
- func GetLowlevelRuntimePaths(o *container.Options) ([]string, error)
- func RestartDocker(o *container.Options) error
- func Setup(c *cli.Context, o *container.Options) error
- func SignalDocker(socket string) error
- type Options
Constants ¶
View Source
const ( Name = "docker" DefaultConfig = "/etc/docker/daemon.json" DefaultSocket = "/var/run/docker.sock" DefaultRestartMode = "signal" )
Variables ¶
This section is empty.
Functions ¶
func RestartDocker ¶
RestartDocker restarts docker depending on the value of restartModeFlag
func SignalDocker ¶
SignalDocker sends a SIGHUP signal to docker daemon
Types ¶
Click to show internal directories.
Click to hide internal directories.