类 Docker
java.lang.Object
org.springframework.boot.maven.Docker
Docker configuration options.
- 从以下版本开始:
- 2.4.0
- 作者:
- Wei Jiang, Scott Frederick
-
嵌套类概要
嵌套类修饰符和类型类说明static classEncapsulates Docker registry authentication configuration options. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明The path to TLS certificate and key files required for TLS communication with the Docker daemon.The Docker context to use to retrieve host configuration.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.voidsetContext(String context)
-
构造器详细资料
-
Docker
public Docker()
-
-
方法详细资料
-
getHost
The host address of the Docker daemon.- 返回:
- the Docker host
-
getContext
The Docker context to use to retrieve host configuration.- 返回:
- the Docker context
-
setContext
-
isTlsVerify
public boolean isTlsVerify()Whether the Docker daemon requires TLS communication.- 返回:
trueto enable TLS
-
getCertPath
The path to TLS certificate and key files required for TLS communication with the Docker daemon.- 返回:
- the TLS certificate path
-
isBindHostToBuilder
public boolean isBindHostToBuilder()Whether to use the configured Docker host in the builder container.- 返回:
trueto use the configured Docker host in the builder container
-