Running this on an Apple M1 machine:
mkdir -p cypress/integration
echo "describe('My Test',()=>{it('',()=>{})});" > cypress/integration/spec.js
docker run --platform linux/amd64 -it -v $PWD:/e2e -w /e2e cypress/included:6.0.0
Fails with this:
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
[22:1217/170937.770835:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
The Test Runner unexpectedly exited via a exit event with signal SIGTRAP
I'm sorry I can't provide any great insights on this! But after discussion with people in the Docker community Slack, it was decided that I should report it as a bug on here. I hope it's useful info. Happy to test it further.