类 Docker
java.lang.Object
org.springframework.boot.maven.Docker
Docker configuration options.
- 从以下版本开始:
- 2.4.0
- 作者:
- Wei Jiang, Scott Frederick
-
嵌套类概要
嵌套类修饰符和类型类说明static class
Encapsulates 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.boolean
Whether to use the configured Docker host in the builder container.boolean
Whether the Docker daemon requires TLS communication.void
setContext
(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.- 返回:
true
to 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.- 返回:
true
to use the configured Docker host in the builder container
-