Can not run puppeteer docker image

da1zHOBBY

8 months ago

I am trying to run docker image of puppeteer just to check if it works. I am using theirs official image from here: ghcr.io/puppeteer/puppeteer:23.2.0

I am getting this error in logs:
Starting Container

Aug 27 12:20:13

[1:1:0827/162013.158079:ERROR:browser_dm_token_storage_linux.cc(105)] Error: /etc/machine-id contains 0 characters (32 were expected).

Aug 27 12:20:13

[1:1:0827/162013.183979:ERROR:ozone_platform_x11.cc(244)] Missing X server or $DISPLAY

Aug 27 12:20:13

[1:1:0827/162013.184090:ERROR:env.cc(258)] The platform failed to initialize. Exiting.

Aug 27 12:20:13

[1:29:0827/162013.214692:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

Aug 27 12:20:15

container event container died

How can i fix it?

0 Replies