Closed jiangkid closed 8 years ago
Is etfquant/rabbitmq == tutum/rabbitmq?
workspace_strokewidthtransform_1, workspace_openocr_1, workspace_openocrworker_1 are all Crashed.
Ok. Btw how are you determining they crashed? Can you add any relevant output to this issue?
I am new to Docker, can you give me some advices?
I'd start with docker log <container_id>
. Find the container id of the workspace_openocr_1
container by running docker ls
and looking for the container id (its a hash), and then run docker log <container_id>
with that container id.
It should show you the logs of the process and whether it ran into any errors. (please post this output to the issue!)
Thank you for your help.
There are some logs for RabbitMQ, but no logs for the other worker. The output like this:
And I'm sure I have uploaded the scripts
Hmm .. I don't know how to debug this without any logs. You might need to ask the bluemix support folks.
Although, I just found this on stack overflow:
You could try running cf ic inspect
@jiangkid any update?
I have tried "cf ic inspect", but it doesn't work. Finally, I build a Docker Image by myself. Thanks. ^_^
Ok, I don't think that's going to help anyone trying to use this on BlueMix, but glad to hear you managed to get things working.
Hi, I have pushed the required images: tutum/rabbitmq, tleyden5iwx/open-ocr-preprocessor and tleyden5iwx/open-ocr to Bluemix. And uploaded scripts: open-ocr-httpd open-ocr-preprocessor open-ocr-worker to my_volume. I use the command to start up OpenOCR
docker-compose up -d
After a few minutes, the workspace_rabbitmq_1 is Running, but the other workers: workspace_strokewidthtransform_1, workspace_openocr_1, workspace_openocrworker_1 are all Crashed.
I am new to Docker, can you give me some advices?
The docker-compose.yml like this:
Start messaging broker
rabbitmq: image: registry.ng.bluemix.net/etfquant/rabbitmq dns: ["8.8.8.8"] volumes:
Start transformation worker
strokewidthtransform: image: registry.ng.bluemix.net/etfquant/open-ocr-preprocessor volumes:
Start OCR worker
openocrworker: image: registry.ng.bluemix.net/etfquant/open-ocr volumes:
Start http server
openocr: image: registry.ng.bluemix.net/etfquant/open-ocr dns: ["8.8.8.8"] volumes: