mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: Recommend using --ipc=host in docker (#2038)
This commit is contained in:
parent
3a29631e9f
commit
4652b9e248
@ -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.
|
||||
|
||||
> 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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user