The standard ubuntu install puts the docker api under a unix socket. The DOCKER_ENDPOINT should work with unix protocol:
DOCKER_ENDPOINT=unix:///var/run/docker.sock lein uberimage ...
The current workaround is to bind the docker daemon to multiple ports:
DOCKER_OPTS="--host=tcp://localhost:2375 --host=unix:///var/run/docker.sock