Add support for configuring the network mode used by the build container when binding an image with CNB buildpacks. The provided value can be used to select a built-in Docker network driver or a driver from a Docker plugin. The value will be passed through, unvalidated, to the Docker Container Create API when creating the builder container.
In the Maven plugin image
configuration, the option could look like this:
<configuration>
<image>
<network>host</network>
</image>
</configuration>
In the Gradle plugin bootBuildImage
configuration, the option could look like this:
bootBuildImage {
network = "host"
}
Comment From: Meijuh
Is there any ETA for this feature? I would love to use it. Currently, we have to invoke the pack
binary manually and add the option --network host
.
Comment From: Meijuh
The linked PR should address this issue. Is there also a way for me to update the Spring reference documentation to reflect this change?
Comment From: snicoll
@Meijuh thanks for the PR. Let's continue the discussion about the reference doc there.
Comment From: Meijuh
@snicoll I was looking for the repo quickly, but could not find it; which one is it?
Comment From: scottfrederick
Closing in favor of #27486