This is a fairly rigid, proof-of-concept Docker image for our CoreOS infrastructure. We would like to be able to launch both Vanilla universe and Docker universe jobs under HTCondor, while providing a completely ephemeral base OS for the worker node.
For this to work with Docker universe, we mount the Docker socket inside of the HTCondor container. The HTCondor container here is running EL6 with Docker v1.7.1, while the CoreOS host is using Docker 1.10. This may break in future versions of CoreOS.
Please note: THIS DOES NOT PROVIDE SECURE SEPARATION BETWEEN HTCONDOR AND COREOS
The Dockerfile can be found here: https://github.com/LincolnBryant/htcondor-docker
It is invoked like so:
/usr/bin/docker run --name HTCondor --net=host -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/condor:/var/lib/condor -v /cvmfs:/cvmfs:slave lincolnbryant/coreos-condor-worker:alpha-1478547233