Docker container for a hass.io/ResinOS environment to enhance scanned pages with OCR
sudo docker build -t tesseract .
sudo docker run --name testeract --rm -i tesseract bash &
sudo docker exec -it testeract bash
sudo docker kill <container id> # See sudo docker ps to get the container id
sudo docker cp testeract:/testres.pdf testres.pdf
- Installation of tesseract into an Alpine Linux docker container is inspired by https://github.com/gnkm/docker-alpine-tesseract-jpn/blob/master/Dockerfile
- see Hass.io's Local Add-On Testing page for further information on how to test containers on another archtecture before deploying it
- see
docker exec
description on how to run and modify a docker container with a bash