Jenkins SSH slave + docker
A Jenkins slave using SSH to establish connection.
See Jenkins Distributed builds for more info.
This image is inspired from
To run a Docker container
docker run -v /var/run/docker.sock:/var/run/docker.sock zfil/ssh-slave "<public key>"
You'll then be able to connect this slave using ssh-slaves-plugin as "jenkins" with the matching private key.