markdown-confluence icon indicating copy to clipboard operation
markdown-confluence copied to clipboard

Docker: Mermaid diagrams cannot be rendered on macOS ARM

Open araines opened this issue 7 months ago • 0 comments

When running the docker version of markdown-confluence on an arm-based macOS system, the container fails:

Downloading chrome r117.0.5938.92 - 146.7 MB [====================] 100% 0.0s 
(node:1) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Chrome (117.0.5938.92) downloaded to /home/pptruser/.cache/puppeteer/chrome/linux-117.0.5938.92
LAUNCHING CHROME {"executablePath":"/home/pptruser/.cache/puppeteer/chrome/linux-117.0.5938.92/chrome-linux64/chrome","headless":"new","args":["--ignore-certificate-errors","--no-sandbox","--disable-setuid-sandbox","--disable-accelerated-2d-canvas","--disable-gpu"]}
exit status 137

I suspect this is something to do with the system architecture (arm) as I also get this warning when running:

docker run -it --rm -v "$(pwd):/content" --env ATLASSIAN_API_TOKEN ghcr.io/markdown-confluence/publish
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

araines avatar Jun 17 '25 08:06 araines