Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace is-docker to is-inside-container #544

Merged
merged 2 commits into from
Aug 24, 2023

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Aug 24, 2023

Puppeteer is known that it's hard to run on the virtualized container. Marp CLI has Docker container detection to mitigate that, and apply --no-sandbox into Chromium process if detected.

This PR makes changing to replace is-docker module into is-inside-container, to detect more kind of virtualized containers (e.g. Podman).

is-inside-container still includes Docker container detection from the same version as the current is-docker module, so there should be no degradation in detection.

Related: #543

Note

I don't know that this replacement will work also on AWS ECS. #543 may be closable if ECS was using Podman.

@yhatt yhatt merged commit 34092ef into main Aug 24, 2023
1 check passed
@yhatt yhatt deleted the replace-is-docker-to-is-inside-container branch August 24, 2023 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant