Open IAseven opened 2 years ago
I'm seeing the same issue when attempting to run the following on an M1 Mac:
docker container run -it --platform linux/arm64 --rm --cap-add=SYS_ADMIN zenika/alpine-chrome
[0824/013038.961704:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[0824/013038.961771:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[0824/013038.962088:WARNING:dns_config_service_linux.cc(428)] Failed to read DnsConfig.
[0824/013038.964579:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
[0824/013038.965128:ERROR:gl_factory.cc(128)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none),(gl=egl-angle,angle=swiftshader)].
[0824/013038.968423:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0824/013038.973087:ERROR:gl_factory.cc(128)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none),(gl=egl-angle,angle=swiftshader)].
[0824/013038.974692:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0824/013038.999396:WARNING:dns_config_service_linux.cc(428)] Failed to read DnsConfig.
Am I missing something?
Did you find a way?
Facing the same issue in M1 mac . Did anyone found a way or workaround ?
Hi, I am confirming that the issue is still present on Mac Air M1, starting up the container gets me this:
2024-06-18 13:23:31 clone: Invalid argument
2024-06-18 13:23:31 [0618/112331.296821:FATAL:zygote_host_impl_linux.cc(201)] Check failed: . : Invalid argument (22)
2024-06-18 13:23:31 qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
Does anyone have any kind of bypass or knows a way to run this on an ARM based CPU?
Describe the bug A clear and concise description of what the bug is. Be careful, Chrome can output some
Warning
without affecting the behavior of this image like this one[0709/182256.661108:WARNING:dns_config_service_posix.cc(335)] Failed to read DnsConfig.
To Reproduce Steps to reproduce the behavior:
docker image inspect --format='{{index .RepoDigests 0}}' zenika/alpine-chrome
sudo docker container run -it --rm -v $(pwd):/usr/src/app zenika/alpine-chrome --no-sandbox --screenshot --hide-scrollbars --disable-gpu --cap-add=SYS_ADMIN --hide-scrollbars https://www.baidu.com
What is the expected behavior? screenshot
What is the actual behavior? Dead, not working
Logs Don't know how to check the log.
Versions
docker container run -it --rm --entrypoint "" zenika/alpine-chrome chromium-browser --version
docker image inspect --format='{{index .RepoDigests 0}}' zenika/alpine-chrome
docker version
Additional context Cpu model :