Skip to content

🎥 Make videos programmatically with React

update docker file

Jonny Burger11d6e744c8a2
diff --git a/packages/docs/docs/docker.md b/packages/docs/docs/docker.md
index 5c00ba8246..084458d26d 100644
--- a/packages/docs/docs/docker.md
+++ b/packages/docs/docs/docker.md
@@ -135,11 +135,18 @@ await renderMedia({
composition,
serveUrl: bundled,
outputLocation: `out/${composition.id}.mp4`,
+ chromiumOptions: {
+ enableMultiProcessOnLinux: true,
+ },
});
console.log(`Rendered composition ${composition.id}.`);
```
+:::note
+We recommend setting the `enableMultiProcessOnLinux` option for this Docker image, available from v4.0.42. [Read more](/docs/miscellaneous/linux-single-process)
+:::
+
## Building the Docker image
Run
@@ -198,6 +205,8 @@ Alpine Linux is a lightweight distribution often used in Docker. There are two k
## Changelog
+**September 25th, 2023**: Recommend setting `enableMultiProcessOnLinux`.
+
**May 30th, 2023**: Update document for Remotion 4.0.
**April 15th, 2023**: Unpinning the versions in Debian since it would cause breakage.