Created
October 26, 2025 21:06
-
-
Save bsidhom/1d3ba9b2f2bc83891991ffb024c35d2b to your computer and use it in GitHub Desktop.
Run ocrmypdf via podman with working directory auto-mounted.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # On macOS, certain directories such as /tmp are specially linked and must be referenced by canonical paths under volume mounts. | |
| podman run --rm -i --user "$(id -u):$(id -g)" --userns keep-id --workdir /data -v "$(readlink -f $(pwd)):/data" jbarlow83/ocrmypdf-alpine <args> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment