dockerd

package
v20.10.25+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 70 Imported by: 0

README

docker.go contains Docker daemon's main function.

This file provides first line CLI argument parsing and environment variable setting.

Documentation

Index

Constants

View Source
const (
	// DefaultCaFile is the default filename for the CA pem file
	DefaultCaFile = "ca.pem"
	// DefaultKeyFile is the default filename for the key pem file
	DefaultKeyFile = "key.pem"
	// DefaultCertFile is the default filename for the cert pem file
	DefaultCertFile = "cert.pem"
	// FlagTLSVerify is the flag name for the TLS verification option
	FlagTLSVerify = "tlsverify"
	// FlagTLS is the flag name for the TLS option
	FlagTLS = "tls"
	// DefaultTLSValue is the default value used for setting the tls option for tcp connections
	DefaultTLSValue = false
)

Variables

This section is empty.

Functions

func Main

func Main()

Main of the dockerd

Types

type DaemonCli

type DaemonCli struct {
	*config.Config
	// contains filtered or unexported fields
}

DaemonCli represents the daemon CLI.

func NewDaemonCli

func NewDaemonCli() *DaemonCli

NewDaemonCli returns a daemon CLI

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL