How to split docker file from monolithic deployment

In a single docker file I use to run Node and Java for the following: run test script run java executable (to bundle screenshots) run my application My understanding from the documentation is...

Install specific version of google-chrome-unstable

I am using the following as part of a Dockerfile for installing google-chrome (based on this): RUN apt-get update && apt-get install -y wget --no-install-recommends \ && wget -q -O -...

Running headless Chrome / Puppeteer with --no-sandbox

Background I built an application that uses Puppeteer on my localhost. Now that I am trying to deploy it into a debian environment the script that runs Puppeteer is timing out. After researching...

Issue in executing puppeteer in headful mode in Docker

I am new to puppeteer and docker. I am facing an issue while setting up puppeteer in headful mode in docker container. Puppeteer version: 1.6.2 Platform / OS version: Docker node:8-slim Node.js...

Jsreport: launch chromium in dockerfile

I'm trying to run a dockerfile which should serve my chrome-pdf generated by jsreport 2.2.0. This is the dockerfile: FROM node:carbon ADD . /usr/src/js-report-home WORKDIR...

Puppeteer Error: Protocol error (Page.captureScreenshot): Target closed

I have this error running [email protected] on node:8-slim container. The full error: Error: Protocol error (Page.captureScreenshot): Target closed. at Promise...

Puppeteer fails in docker container: "browser has disconnected!"

I wrote a script that uses Puppeteer v1.12.2 to grab some info from a webpage. It runs on my local machine (Ubuntu 18.04) with node v10.15.1, and it runs on my machine in a docker container with...

EROFS: read-only file system when running puppeteer on EBS after a day

I'm running puppeteer on Elastic BeanStalk. Every 30 minutes it has around 200 URL to open. Each of those opens and closes a brand new browser. After around a day of running it just stops and...

Installing necessary shared library dependencies for puppeteer in docker container

First of all my knowledge of docker is limited. This is my problem: I cannot get puppeteer running in my deployed container. The requests I make to the end points of my service end up timing...

How to access remote debugging page for dockerized Chromium launch by Puppeteer?

When the chromium succeed to launch, its Debugging WebSocket URL should be like ws://127.0.0.1:9222/devtools/browser/ec261e61-0e52-4016-a5d7-d541e82ecb0a. 127.0.0.1:9222 should be able to browse...

How to get puppeteer working in Google Cloud Run/Cloud Build?

I have a docker image containing a puppeteer web scraper. It works perfectly in my local machine when I build and run it. It also build fine in cloud build, deploys to cloud run and starts the...

How to install Docker inside my ubuntu container?

I installed docker inside a container running on ubuntu:18.04 to run my nodejs app, I need docker installed inside this container because i need to dockerize an other small app Her is my...

Stenciljs e2e tests on Google Cloud Build

TL;DR: does anyone know how to make a valid stencil.js docker image to run stencil build & test? Long form: To run stencil.js e2e tests on Google Cloud Build you need a custom build step as a...

gitlab/codeceptjs tests were working fine yesterday now they can't even start

months ago I made some tests on gitlab using codeceptjs/puppeteer. I was having 0 issues with the tests. this morning I woke up and every single test on every single app is failing before the apps...

Node.js + Puppeteer on Docker, No usable sandbox

i'm building a node.js LTS application. I followed puppeteer documentation, so my Dockerfile has this content: FROM node:12.18.0 WORKDIR /home/node/app ADD package*.json ./ # Install latest...

codeceptjs tests 'before each' hook error fails to launch chrome. tests were working fine a week ago

I asked this question several months ago here but the solution was obviously not helpful because here I am again with the exact same problem. in that link I was told to change my image from...

Using puppeteer-extra with stealth mode in docker

Trying to use puppeteer-extra and puppeteer-extra-plugin-stealth in docker. When I use the recommended puppeteer Dockerfile I get the errors UnhandledPromiseRejectionWarning: Error: Failed to...

Puppeteer/Chromium proxy ERR_TUNNEL_CONNECTION_FAILED

I want to use puppeteer inside docker but got an error with the https version of any websites My dockerfile: FROM node:14.8.0-slim ENV http_proxy http://10.156.10.155:3128 ENV https_proxy...

Azure Function deployed via Azure DevOps pipeline not executing

I have created an azure pipeline to deploy a custom docker image with an azure function with the following config. Though the config works in terms of build but none of the functions are running...

Missing several characters for Urdu and Sindhi languages

I'm trying to generate pdf with wicked-pdf gem. Pdf is generated through Qt WebKit rendering engine, so I had to install fonts on the server-side for non-utf languages like Myanmar, Urdu, Pashto...

Dockerfile with nextjs and puppteer permission denied

I've been struggling for months on this. I don't understand why I run into this permission issues. I'm on Centos7 and it works on my local machine, but when I try and deploy to server I get this...

Failed to launch the browser process using Penthouse + Cloud Run

I'm ocassionally getting this error when using Penthouse with Cloud Run: [1031/055417.851741:ERROR:address_tracker_linux.cc(201)] Could not bind NETLINK socket: Permission denied (13)...

Running Headless Chrome Puppeteer and Xfvb in a Node.js Docker Container, trouble running image

Im trying to run a Puppeteer script in a docker container with Xfvb so that I can run headless: false on my production app, which is the only way my script will get the required output from the...

Deploying a Dockerized node app onto Heroku and using Xvfb with puppeteer, cannot launch browser

Puppeteer version: 5.5 Platform / OS version: Docker container deployed on Heroku Node.js version: latest I have set up puppeteer scripts that live in a docker container, so that they can be run...

How to resolve “Target closed” error using nodeJS and Puppeteer in docker container?

i am trying to generate pdf file using puppeteer which is being setup inside docker. however i keep getting error Error in pdf ::---> Error: Protocol error (Page.navigate): Target closed. at...

Puppeteer Error: error while loading shared libraries: libgobject-2.0.so.0

I have a NestJS App deployed on Google Cloud Run which is using puppeteer (V7.0.1) to generate a PDF. Locally, everything is working absolutely fine, but on my Cloud Run Service I keep getting the...