I am trying to expose two ports in docker container 6633 and 8080 , and try to connect one application from external host,in simple term I am trying to connect Open-Flow switches running on external host to Open-Flow controller running on docker container,But I am not able to connect,how am I suppose to expose the ports in docker and get this connection done?
If you're only going to do this once on your host, and assuming they are TCP ports, you can 'publish' them like this:
The -p option is described more at the top of this page: http://docs.docker.com/userguide/dockerlinks/