package
0.0.0-20241112080837-97b903613cec
Repository: https://github.com/deepin-community/docker.io.git
Documentation: pkg.go.dev

# README

docker.go contains Docker daemon's main function.

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

# Packages

No description provided by the author

# Functions

FlagErrorFunc prints an error message which matches the format of the docker/docker/cli error messages.
NewDaemonCli returns a daemon CLI.
NoArgs validates args and returns an error if there are any args.
SetupRootCommand sets default usage, help, and error handling for the root command.

# Constants

DefaultCaFile is the default filename for the CA pem file.
DefaultCertFile is the default filename for the cert pem file.
DefaultKeyFile is the default filename for the key pem file.
DefaultTLSValue is the default value used for setting the tls option for tcp connections.
FlagTLS is the flag name for the TLS option.
FlagTLSVerify is the flag name for the TLS verification option.

# Structs

DaemonCli represents the daemon CLI.
StatusError reports an unsuccessful exit by a command.