类 DockerApi
java.lang.Object
org.springframework.boot.buildpack.platform.docker.DockerApi
Provides access to the limited set of Docker APIs needed by pack.
- 从以下版本开始:
- 2.3.0
- 作者:
- Phillip Webb, Scott Frederick, Rafael Ceccone, Moritz Halbritter
-
嵌套类概要
嵌套类修饰符和类型类说明class
Docker API for container operations.class
Docker API for image operations.class
Docker API for volume operations. -
构造器概要
构造器构造器说明Create a newDockerApi
instance.DockerApi
(DockerConfiguration.DockerHostConfiguration dockerHost) 已过时, 待删除: 此 API 元素将从以后的版本中删除。DockerApi
(DockerConnectionConfiguration connectionConfiguration, DockerLog log) Create a newDockerApi
instance. -
方法概要
-
构造器详细资料
-
DockerApi
public DockerApi()Create a newDockerApi
instance. -
DockerApi
@Deprecated(since="3.5.0", forRemoval=true) public DockerApi(DockerConfiguration.DockerHostConfiguration dockerHost) 已过时, 待删除: 此 API 元素将从以后的版本中删除。since 3.5.0 for removal in 4.0.0 in favor ofDockerApi(DockerConnectionConfiguration, DockerLog)
Create a newDockerApi
instance.- 参数:
dockerHost
- the Docker daemon host information- 从以下版本开始:
- 2.4.0
-
DockerApi
Create a newDockerApi
instance.- 参数:
connectionConfiguration
- the connection configuration to uselog
- a logger used to record output- 从以下版本开始:
- 3.5.0
-
-
方法详细资料
-
image
Return the Docker API for image operations.- 返回:
- the image API
-
container
Return the Docker API for container operations.- 返回:
- the container API
-
volume
-
DockerApi(DockerConnectionConfiguration, DockerLog)