XDCR using docker containers

Does anyone know how to achieve XDCR using docker containers between two data centers. The two data centers live in different joyent accounts. I am stuck and I have no clue how to do such thing. any help would be helpful.