Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: Recommend using --ipc=host in docker (#2038)

Steve Davis4652b9e24832
diff --git a/docs/docker/README.md b/docs/docker/README.md
index 90cdcdae08..0024c651f2 100644
--- a/docs/docker/README.md
+++ b/docs/docker/README.md
@@ -13,9 +13,10 @@ $ sudo docker build -t microsoft/playwright:bionic -f Dockerfile.bionic .
Running image:
```
-$ sudo docker container run -it --rm --security-opt seccomp=chrome.json microsoft/playwright:bionic /bin/bash
+$ sudo docker container run -it --rm --ipc=host --security-opt seccomp=chrome.json microsoft/playwright:bionic /bin/bash
```
> **NOTE**: The seccomp profile is coming from Jessie Frazelle. It's needed
-> to run Chrome without sandbox.
-
+> to run Chrome without sandbox.
+> Using `--ipc=host` is also recommended when using Chrome. Without it Chrome can run out of memory and crash.
+> [See the docker documentation for this option here.](https://docs.docker.com/engine/reference/run/#ipc-settings---ipc)