Connecting docker containers

Hi,
I have installed the docker in linux machine and I run one ubuntu conatiner. I need to connect the container in another host / network.How can I connect the container from windows or mac machine. Could someone assist me in this issue.