pandoc / dockerfiles

Dockerfiles for various pandoc images
GNU General Public License v2.0
364 stars 98 forks source link

hang when run pandoc/latex:3-ubuntu #221

Closed shawn0915 closed 7 months ago

shawn0915 commented 8 months ago

when I use docker image with podman in Rocky linux 9, that can not run successfully,

[root@rocky9 docs-cn]# podman run -it -v "$(pwd):/data" pandoc/latex:3-ubuntu
^C[root@rocky9 docs-cn]# 
[root@rocky9 docs-cn]# podman run -it -v "$(pwd):/data" pandoc/latex:2-ubuntu
^C[root@rocky9 docs-cn]# 
[root@rocky9 docs-cn]# podman run --rm -v "$(pwd):/data" -it pandoc/latex:3-ubuntu TOC.md -o outfile.pdf
pandoc: TOC.md: openBinaryFile: permission denied (Permission denied)
[root@rocky9 docs-cn]# 
tarleb commented 7 months ago

See the pandoc FAQs to learn why pandoc hangs. To avoid the permission denied error you might need to add -u $(id -u) to the command line.