Package org.springframework.boot.maven
Class Docker
java.lang.Object
org.springframework.boot.maven.Docker
Docker configuration options.
- Since:
- 2.4.0
- Author:
- Wei Jiang, Scott Frederick
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Encapsulates Docker registry authentication configuration options. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe path to TLS certificate and key files required for TLS communication with the Docker daemon.getHost()
The host address of the Docker daemon.boolean
Whether to use the configured Docker host in the builder container.boolean
Whether the Docker daemon requires TLS communication.
-
Constructor Details
-
Docker
public Docker()
-
-
Method Details
-
getHost
The host address of the Docker daemon.- Returns:
- the Docker host
-
isTlsVerify
public boolean isTlsVerify()Whether the Docker daemon requires TLS communication.- Returns:
true
to enable TLS
-
getCertPath
The path to TLS certificate and key files required for TLS communication with the Docker daemon.- Returns:
- the TLS certificate path
-
isBindHostToBuilder
public boolean isBindHostToBuilder()Whether to use the configured Docker host in the builder container.- Returns:
true
to use the configured Docker host in the builder container
-