When i try and connect to a port from within my container to another container, i am unsuccessful and get,
root@ac1590a59fe5:/opt/f5massupgrade#
Try running the container with the flag --net set to host.
docker run --net host image