Creating a new docker elasticsearch node along with a vm node/cluster

Hi, I currently have a elasticsearch cluster, in a virtual machine, with a single node, and I want to add another node but this time use docker to create this new node.

Is there compatibility issues?
elasticsearch in both nodes have to be the same version?
what are the considerations that I must have?

Untitled%20Diagram