diff --git a/lib/examples/launch-managed/main.go b/lib/examples/launch-managed/main.go index a6526f3c..aeb616d9 100644 --- a/lib/examples/launch-managed/main.go +++ b/lib/examples/launch-managed/main.go @@ -14,7 +14,7 @@ func main() { // to connect to a running browser check the "../connect-browser" example. // Rod provides a docker image for beginners, run the below to start a launcher.Manager: // - // docker run -p 7317:7317 --shm-size=500mb ghcr.io/go-rod/rod + // docker run -p 7317:7317 ghcr.io/go-rod/rod // // For available CLI flags run: docker run ghcr.io/go-rod/rod rod-manager -h // For more information, check the doc of launcher.Manager diff --git a/lib/launcher/launcher.go b/lib/launcher/launcher.go index 162eed3c..d47508ec 100644 --- a/lib/launcher/launcher.go +++ b/lib/launcher/launcher.go @@ -70,6 +70,7 @@ func New() *Launcher { // TODO: about the "site-per-process" see https://github.com/puppeteer/puppeteer/issues/2548 "disable-features": {"site-per-process", "TranslateUI"}, + "disable-dev-shm-usage": nil, "disable-background-networking": nil, "disable-background-timer-throttling": nil, "disable-backgrounding-occluded-windows": nil,