package supervisor
import "github.com/docker/docker/libcontainerd/supervisor"
Index ¶
Types ¶
type Daemon ¶
Daemon represents a running containerd daemon
func Start ¶
Start starts a containerd daemon and monitors it
type DaemonOpt ¶
type DaemonOpt func(c *remote) error
DaemonOpt allows to configure parameters of container daemons
func WithCRIDisabled ¶
func WithCRIDisabled() DaemonOpt
WithCRIDisabled disables the CRI plugin.
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.
Source Files ¶
remote_daemon.go remote_daemon_options.go
- Version
- v28.0.0-rc.2+incompatible
- Published
- Feb 17, 2025
- Platform
- js/wasm
- Imports
- 19 packages
- Last checked
- 2 minutes ago –
Tools for package owners.