Documentation ¶
Overview ¶
Package dockerutil provides Docker utility functions.
Index ¶
Constants ¶
View Source
const DefaultBridgeNetwork = "bridge"
DefaultBridgeNetwork is the name of the default bridge network in Docker.
Variables ¶
This section is empty.
Functions ¶
func BridgeGateway ¶
BridgeGateway returns the gateway of the default Docker bridge network.
func BridgeHost ¶
BridgeHost returns a host that points to the Docker host and is reachable from the containers running in the default bridge.
func NewAPIClient ¶
NewAPIClient returns a new Docker API client. This client behaves as close as possible to the Docker CLI. It gets its configuration from the Docker config file and honors the Docker CLI environment variables. It also sets up TLS authentication if TLS is enabled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.