Communicate between two docker containers running on different machine with docker network (ssh)

I want to connect two docker containers running on different machine wihout docker swarm . Is it possible to achieve that with port 22 and docker networking?

In same node i am able to communicate using local ip and bridge/MacVlan network

Source: StackOverflow