Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DaemonOpt ¶
type DaemonOpt func(c *remote) error
DaemonOpt allows to configure parameters of container daemons
func WithDetectLocalBinary ¶
func WithDetectLocalBinary() DaemonOpt
WithDetectLocalBinary checks if a containerd binary is present in the same directory as the dockerd binary, and overrides the path of the containerd binary to start if found. If no binary is found, no changes are made.
func WithLogFormat ¶
func WithLogFormat(format log.OutputFormat) DaemonOpt
WithLogFormat defines the containerd log format. This only makes sense if WithStartDaemon() was set to true.
func WithLogLevel ¶
WithLogLevel defines which log level to start containerd with.
Click to show internal directories.
Click to hide internal directories.