Skip to content

An API using marp-cli is working on deployed to Docker, but not working on deployed to Heroku. #525

Answered by yhatt
link2004 asked this question in Q&A
Discussion options

You must be logged in to vote
The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/google/chrome/chrome-sandbox is owned by root and has mode 4755.

This error is about Chrome's process sandboxing.

Marp CLI is automatically detecting whether it was executed inside a container such as Docker and Podman (powered by is-inside-container package), and disable incompatible process sandboxing automatically. But this detection may not work in some PaaS platform like Heroku.

You can try to add CHROME_NO_SANDBOX environment value into your container image as 1, to disable Chrome's process sandboxing forcibly.

ENV CHROME_NO…

Replies: 2 comments 3 replies

This comment has been hidden.

@link2004

This comment has been hidden.

@yhatt

This comment has been hidden.

Comment options

You must be logged in to vote
1 reply
@link2004
Comment options

Answer selected by yhatt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants