Skip to content

Running container with podman won't allow saving results #367

@olberger

Description

@olberger

I'm testing the use of the ghcr.io/astefanutti/decktape container image with podman as a replacement for docker.

Using docker run --rm -t -v pwd:/slides ghcr.io/astefanutti/decktape https://revealjs.com/demo/ slides.pdf, I get the following error:

Error: EACCES: permission denied, open 'slides.pdf'
    at Object.openSync (node:fs:573:18)
    at Object.writeFileSync (node:fs:2381:35)
    at writePdf (file:///decktape/decktape.js:586:6)
    at async file:///decktape/decktape.js:305:9 {
  errno: -13,
  code: 'EACCES',
  syscall: 'open',
  path: 'slides.pdf'
}

This may be related to the way podman emulates docker, or the way my podman installation is setup (Debian testing defaults), of course.

Just in case this helps figure out a workaround/solution, if others have the same issue.

Thanks in advance for any hints

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions