setup-qemu-action
setup-qemu-action copied to clipboard
Please add usage example to README
It would be great to have a simple example on how to use QEMU in a workflow in the README.
There were two things that confused me in the beginning, so let me give the information here:
- This action is named
setup-qemu-action, but it only sets up user mode emulation. You can't useqemu-imgor anyqemu-system-*functionality. - No
qemu-*binaries added to the path. Instead they are registered with the kernel (usingbinfmt_misc), and the kernel will invoke the correctqemu-*binary by looking at the first few bytes of an executable. Thus,qemu-aarch64-static hellowill fail, but./helloworks fine.
Also it almost looks like the /var/run/docker.sock is hardcoded where does this come from?