Getting access to docker socket

#1

I am aware that the garden process uses garden linux and that all scheduling happens via the rest APIs, but I am wondering if there is a way to get access to the docker socket to build docker images.

TO BE CLEAR: I am aware of the docker resource, but I want to use maven to build my docker image. Anyone have any ideas?