pandoc/dockerfiles

hang when run pandoc/latex:3-ubuntu

shawn0915 opened this issue · 1 comments

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]# 

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.