I'm trying to achieve something similar to this:
-p 192.168.1.100:8080:80
with docker-java. The only example that I found for publishing/mapping ports with docker-java is using the .withExposedPorts of the CreateContainerCmd class. here.
I'm not seeing any way of specifying a host IP address. I wonder if this is something supported from the docker-java project?
Have you tried with Binding.bindIpAndPort
?