See http://nathan.ca/2014/04/using-docker-for-self-contained-c-deployment/ for more details