Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 557 Bytes

README.md

File metadata and controls

9 lines (9 loc) · 557 Bytes

ocrserver

Docker

Need to mount volume to /data. This image exposed port 80.
sudo docker run -d --rm -v ocr-server-data:/data -p 127.0.0.1:8080:80 --name ocr-server-testing ocr-server
sudo docker run -d --rm -v ocr-server-data:/data -p 127.0.0.1:8080:80 --name ocr-server-testing ocr-server:slim
Must tag image that was pulled from Google registry as image name in command.

Google Container Registry

gcloud docker -- pull asia.gcr.io/general-api-168205/ocr-server
gcloud docker -- pull asia.gcr.io/general-api-168205/ocr-server:slim