Clustering with two rabbitmq containers(using kitematic)

Any idea how to make a cluster with two separate rabbitmq containers created using kitematic(provided the environments for the erlang cookie too):
rabbit@575e08e7aa87:

  • unable to connect to epmd (port 4369) on 575e08e7aa87: nxdomain (non-existing domain)

current node details:

  • node name: ‘rabbitmq-cli-290@3b095664c012’
  • home dir: /root
  • cookie hash: 7TEI4PoojMevVjpp5ML46g==