After a couple of failures the docker container is doing this:
/home/chrome/node_modules/@puppeteer/browsers/lib/cjs/launch.js:259
reject(new Error([
^
Error: Failed to launch the browser process! undefined
[16:16:0131/132820.967404:ERROR:ozone_platform_x11.cc(239)] Missing X server or $DISPLAY
[16:16:0131/132820.971474:ERROR:env.cc(255)] The platform failed to initialize. Exiting.
[16:38:0131/132821.034069:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
TROUBLESHOOTING: https://pptr.dev/troubleshooting
at ChildProcess.onClose (/home/chrome/node_modules/@puppeteer/browsers/lib/cjs/launch.js:259:24)
at ChildProcess.emit (node:events:525:35)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)
Node.js v18.16.0
I have to rm the container and build a new one. Am I doing something wrong with the container setup?