Version: 1.1.0
Running Playwright in Docker
Dockerfile.bionic is a playwright-ready image of playwright. This image includes all the dependencies needed to run browsers in a Docker container.
Building image:
Running image:
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.