
Chrome will write into /tmp instead.Īdd your JavaScript to your container with a COPY instruction. disable-dev-shm-usage – This flag is necessary to avoid running into issues with Docker’s default low shared memory space of 64MB.If you’re uncomfortable with this, you’ll need to manually configure working Chrome sandboxing, which is a more involved process. It’s vital you ensure your Docker containers are strongly isolated from your host. Using these flags could allow malicious web content to escape the browser process and compromise the host. no-sandbox and disable-setuid-sandbox – These disable Chrome’s sandboxing, a step which is required when running as the root user (the default in a Docker container).Setting this flag explicitly instructs Chrome not to try and use GPU-based rendering. disable-gpu – The GPU isn’t usually available inside a Docker container, unless you’ve specially configured the host.We began looking for third-party hosted solutions so that we could focus our attention on building and supporting our core products, and Browserless fit the bill. We were hosting our own Puppeteer-driven smoke testing service, which required specialized operational attention to maintain and scale. We use it as a micro-service that renders thousands of dashboards per day as image of PDF and are very happy with the stability and performance. Christopher Zhen - Software Engineer, Samsaraīrowserless is a great browser-as-a-service tool that just works.

Joel and team are some of the most customer-centric partners I've worked with. Browserless's developer focused approach has been a key to us bringing our product to market at the speed we were able to do so. Browserless helped us focus on the problem we were trying to solve, and less on scaling an automation infrastructure.
