-
Bug
-
Resolution: Fixed
-
Critical
-
None
When we use the network field to host, the port binding throw a NullPointerException. This is because the docker-java does provide an empty Ports value in that case.
I opened an issue on docker-java side: https://github.com/docker-java/docker-java/issues/753
Could you please describe your use-case ? Why do you need to use host network ?
This will break isolation between containers running on this dockerhost.