Docker image not working in Ubuntu 22.04
jmferreirab opened this issue · comments
Issue: Docker image not working in Ubuntu 22.04
Expected behaviour: Running "make docker-run" completes without error and processes the sample images.
Actual behaviour: Running make docker-run spits out error "make": executable file not found in $PATH: unknown.
Environment: Ubuntu 22.04
Python: 3.7.9 (from docker official images)
Docker version 20.10.16, build aa7e414
Additional info: make docker-build completed without errors after ensuring dockerfile and pyproject.toml pointed to python version 3.7.9
Attaching screenshot of exact error:
will check it out, thanks for reporting :)
Well, I test it now and it works in my machine Macbook Pro 2021 M1 Chip, however: for me (and I might be wrong) it seems like a driver issue, see:
- Related issue: docker/for-linux#1387
- Might be related as well: https://forums.docker.com/t/docker-run-hello-world-docker-error-response-from-daemon-failed-to-create-shim-task-oci-runtime-create-failed-runc-create-failed-unable-to-start-container-process-error-during-container-init-error-mounting-proc-to-rootfs-at-proc-mount-proc-p/124956/7
One user suggested to change virtualization method: Solved the issue after virtualization changes. Virtualization: kvm
Hope this help you, if not hit me up :)
Thank you for the follow up @mateoradman and @monolidth . It's much appreciated.
Mateo's response makes a lot of sense. I was trying to run this in a Ubuntu from VirtualBox (hosted on Windows), but if it needs direct access to nvidia drivers, I won't be able to continue on Ubuntu as all it gets as a VM is an emulated driver according to nvidia-smi output. As such I will be closing this :)
A bit off topic, but if all you want to do is read receipts, the tesseract base cli may help. I found success with tesseract cli at version 4.0 out of the box on english receipts. (tesseract image_path text_result.txt -l eng --psm 6).