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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classEncapsulates Docker registry authentication configuration options.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.booleanWhether to use the configured Docker host in the builder container.booleanWhether the Docker daemon requires TLS communication.
- 
Constructor Details- 
Dockerpublic Docker()
 
- 
- 
Method Details- 
getHostThe host address of the Docker daemon.- Returns:
- the Docker host
 
- 
isTlsVerifypublic boolean isTlsVerify()Whether the Docker daemon requires TLS communication.- Returns:
- trueto enable TLS
 
- 
getCertPathThe path to TLS certificate and key files required for TLS communication with the Docker daemon.- Returns:
- the TLS certificate path
 
- 
isBindHostToBuilderpublic boolean isBindHostToBuilder()Whether to use the configured Docker host in the builder container.- Returns:
- trueto use the configured Docker host in the builder container
 
 
-