Signed-off-by: Victor Vieux <vieux@docker.com>
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
.PHONY: all binary build build-gccgo cross default docs docs-build docs-shell shell gccgo test test-docker-py test-integration-cli test-unit validate help |
| 2 | 2 |
|
| 3 | 3 |
# set the graph driver as the current graphdriver if not set |
| 4 |
-DOCKER_GRAPHDRIVER := $(if $(DOCKER_GRAPHDRIVER),$(DOCKER_GRAPHDRIVER),$(shell docker info | grep "Storage Driver" | sed 's/.*: //')) |
|
| 4 |
+DOCKER_GRAPHDRIVER := $(if $(DOCKER_GRAPHDRIVER),$(DOCKER_GRAPHDRIVER),$(shell docker info 2>&1 | grep "Storage Driver" | sed 's/.*: //')) |
|
| 5 | 5 |
|
| 6 | 6 |
# get OS/Arch of docker engine |
| 7 | 7 |
DOCKER_OSARCH := $(shell bash -c 'source hack/make/.detect-daemon-osarch && echo $${DOCKER_ENGINE_OSARCH:-$$DOCKER_CLIENT_OSARCH}')
|