elevate docker client code example Example: In the default daemon configuration on Windows , the docker client must be run elevated to connect. docker-machine env --shell cmd default