package
0.0.0-20250130204033-e82d90384e5b
Repository: https://github.com/laurentgoderre/moby.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.
# Functions
FlagErrorFunc prints an error message which matches the format of the docker/docker/cli error messages.
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
StatusError reports an unsuccessful exit by a command.