Docker build working with latest API, enable use of DOCKER_HOST environm...

Enable "build" command to work with the latest API, enable the use of DOCKER_HOST environment variable.