Hi,
I am a Docker newbie. I am unable to complete the building of an OCR4All container in Docker (V. 27.5.1, build 9f9e405) in Windows 10 Professional. Windows Power Shell locks on the OCR4All build script…
I have installed and loaded Apache (V. 2.4.63.0), Tomcat (10.1) and Docker which are required to run OCR4All. As specified in the OCR4All Guide I have opened Windows Power Shell and run the following command to build the OCR4All Docker container:
docker run -p 1476:8080 --name ocr4all -v C:\Users\ybrekag\ocr4all\data:/var/ocr4all/data -v C:\Users\ybrekag\ocr4all\models:/var/ocr4all/models/custom -it uniwuezpd/ocr4all
However, this command locks at the following code: “04-Mar-2025 23:59:35.561 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [7359] milliseconds.” The OCR4All Docker container is only partially built and will not run.When I try to load it into Chrome with the Windows Power Shell command, “docker start -ia ocr4all” I get the following error message:
Error response from daemon: No such container: –ia
ocr4all
Error: failed to start containers: –ia
The Docker log for the OCR4All container records the following (Apache/Tomcat?) error:
2025-03-11 05:41:36 11-Mar-2025 09:41:36.046 INFO [Thread-5] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler [“http-nio-8080”]
2025-03-11 05:41:36 11-Mar-2025 09:41:36.059 INFO [Thread-5] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
2025-03-11 05:41:36 11-Mar-2025 09:41:36.134 INFO [Thread-5] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler [“http-nio-8080”]
2025-03-11 05:41:36 11-Mar-2025 09:41:36.159 INFO [Thread-5] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler [“http-nio-8080”]
When I first installed Apache/Tomcat/Docker/OCR4All I was able to build the Docker container and access OCR4all on the Internet at: http://localhost:1476/ocr4all/. However, at some point shortly thereafter I lost this ability. I tried to correct my problem by uninstalling Docker with Revo Uninstaller and then reinstalling Docker. This failed to resolve my problem.
Since installing Apache/Tomcat/Docker/OCR4All I have had to install several more software programs I need for AI OCR: Batch Image Merger, Batch Image Creator, PDF Creator, g_vim 9.1, g_vim easy 9.1, Image Combiner, PDF Architect, All File to File Converter 9000, NotePad++, ScanTailer and Irfan View 64. I doubt these programs are causing my problem, but I mention them just to be complete.
I have not made any changes to my Internet settings since installing Apache/Tomcat/OCR4all. However, Windows 10 did automatically install an update which might have reset some relevant parameters on my PC. I also doubt that my PC is infected with malware. I am using Bitdefender Total Security which has been very successful at protecting my PC.
I do use Private Internet Access (PIA) VPN for privacy, but the Docker OCR4All container fails to be built whether PIA is connected or disconnected. The Docker container log for OCR4All is unchanged whether PIA I have connected or disconnected.
I’ve tried researching this problem with Google, but what I find is quite beyond my level of computer/programming expertise. I have no familiarity with Apache, Tomcat or Docker. I just want to use OCR4All which depends on the successful installation and running of the latter three programs.
So, I would be very grateful to any forum member who could suggest what either my next steps should be or a solution to my problem.