Boot2Docker (https://docs.docker.com/installation/mac/) uses the environment variable DOCKER_HOST to point to Docker:
echo $DOCKER_HOST
tcp://192.168.59.103:2375
It would be great if uberimage also looked for DOCKER_HOST (either in addition to, or instead of DOCKER_ENDPOINT). That way it would Just Work for boot2docker users.