Creating container doesn't allow for setting "NetworkingConfig" · Issue #2555 · docker-java/docker-java
Repository navigation
Creating container doesn't allow for setting "NetworkingConfig" #2555
New issue
New issue
Open
#2556
Open
Creating container doesn't allow for setting "NetworkingConfig" #2555 #2556
Description
@nbrugger-tgm's profile nbrugger-tgm opened on Dec 8, 2025In order to attach a container to more than one network on creation the "NetworkingConfig" field is needed but the com.github.dockerjava.api.command.CreateContainerCmd does not publish the value (for potential manipulation)
The problem is that in com.github.dockerjava.core.command.CreateContainerCmdImpl#exec the value is overwritten so just providing a getter is not quite enought and the exec needs to be adapted as well