This is docker image containing a Jenkins JNLP slave with the docker binary.
Available in dockerhub as gbobr/jnlp-slave
In order for this to work you will need to share your host's docker.sock as a host volume.
For example you can run it as a plain docker container:
docker run --volume /var/run/docker.sock:/var/run/docker.sock gbobr/jnlp-slave:latestI personally use this with jenkins kubernetes plugin to spawn slave workers based on this image.