Docker Jenkins SSH

Hi All,
I tried to discover the possibility to run Jenkins on Docker and all works fine if I run the docker image on a single node. The other problem is to run some build on a separate bar metal server out from the host where Jenkins container are running. Does someone resolve this gap?

Thanks,
Marcello

One possibility would be to use a jenkins plugin that can run jenkins slaves as docker containers. You could configure your master jenkins node to talk to the docker daemon running on your bare metal server via TLS.