not able to start form recognizer container in docker

0

I'm trying to run Azure Form Recognizer locally in Docker

docker run --rm -it -p 5000:5000 --memory 4g --cpus 1 \
--mount type=bind,source=c:\input,target=/input  \
--mount type=bind,source=c:\output,target=/output \
containerpreview.azurecr.io/microsoft/cognitive-services-form-recognizer \
Eula=accept \
Billing={FORM_RECOGNIZER_ENDPOINT_URI} \
ApiKey={FORM_RECOGNIZER_API_KEY}
FormRecognizer:ComputerVisionApiKey={COMPUTER_VISION_API_KEY} \
FormRecognizer:ComputerVisionEndpointUri={COMPUTER_VISION_ENDPOINT_URI}

I get this error message

C:\Program Files\Docker\Docker\resources\bin\docker.exe: Error response from daemon: status code not OK but 500: {"Message":"Unhandled exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"}.

Any guidance with this error message? I just created a Computer Vision resource in azure so I can run things on premise. I've already successfully tested the Form Recognizer resource through Python API calls. Unsure what else I need to do permission wise. Both endpoints URI are pointed to azure form recognizer and computer vision with corresponding keys.

azure
docker
microsoft-cognitive
asked on Stack Overflow Apr 8, 2020 by James

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0