yukinying / chrome-headless-browser-docker

Continuously building Chrome Docker image for Linux.
https://store.docker.com/community/images/yukinying/chrome-headless-browser/tags
Apache License 2.0
369 stars 53 forks source link

dbus errors when running chrome-headless-browser-stable (M2 Mac) #53

Open efixler opened 7 months ago

efixler commented 7 months ago

Hi. First off, thank you for making this set of Docker images.

I'm running the Docker image on an M2 mac using the example command line from the README:

docker run --init -it --rm --name headless-chrome -p=127.0.0.1:9222:9222 --shm-size=1024m --cap-add=SYS_ADMIN yukinying/chrome-headless-browser-stable

I get the following errors (and some warnings, which I'm including mainly just to have the complete log trace)

[0226/162323.265879: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
[0226/162323.265997: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
[0226/162323.266971:INFO:policy_logger.cc(145)] :components/policy/core/common/config_dir_policy_loader.cc(118) Skipping mandatory platform policies because no policy file was found at: /etc/chromium/policies/managed
[0226/162323.266989:INFO:policy_logger.cc(145)] :components/policy/core/common/config_dir_policy_loader.cc(118) Skipping recommended platform policies because no policy file was found at: /etc/chromium/policies/recommended
[0226/162323.269185:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.

DevTools listening on ws://0.0.0.0:9222/devtools/browser/cdd4acfa-2450-4f08-8bab-3a2cc77195d8

Please advise, help is appreciated :) thank you!

yukinying commented 7 months ago

The error are not fatal and can be ignored.