Handle DOCKER_HOST intelligently

closes #10 and #11