类 ContainerConfig
java.lang.Object
cn.taketoday.buildpack.platform.docker.type.ContainerConfig
Configuration used when creating a new container.
- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb, Scott Frederick, Jeroen Meijer
-
嵌套类概要
嵌套类修饰符和类型类说明static classUpdate class used to change data when creating a container config. -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static ContainerConfigof(ImageReference imageReference, Consumer<ContainerConfig.Update> update) Factory method to create aContainerConfigwith specific settings.toString()voidwriteTo(OutputStream outputStream) Write this container configuration to the specifiedOutputStream.
-
字段详细资料
-
json
-
-
构造器详细资料
-
方法详细资料
-
writeTo
Write this container configuration to the specifiedOutputStream.- 参数:
outputStream- the output stream- 抛出:
IOException- on IO error
-
toString
-
of
public static ContainerConfig of(ImageReference imageReference, Consumer<ContainerConfig.Update> update) Factory method to create aContainerConfigwith specific settings.- 参数:
imageReference- the source image for the container configupdate- an update callback used to customize the config- 返回:
- a new
ContainerConfiginstance
-