[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] docker, CCB and private networks

On 12/05/2016 06:08 PM, kristian kvilekval wrote:

I am having trouble configuring the following situation:

Types of nodes and network
1.  Desktop   : Public internet nodes  (submit nodes)
2.  Cluster workers:  Behind NAT
3.  Docker applications : behind docker private network (submit nodes)  

Generally, speaking, CCB allows either the workers or the submit machines to be behind a NAT, but not both.  If you want to submit from within a container, probably the best approach is to turn on shared port (which is on by default in newer version of HTCondor), set TCP_FORWARDING_HOST in the condor instance inside the container to the host's IP address (i.e. outside of the container), and tell docker to port forward 9618 from the host to the container.