updated emulator instructoins

This commit is contained in:
Shihaam Abdul Rahman 2023-09-30 17:35:47 +05:00
parent 1a95f6860e
commit f2e8a3fb46
Signed by untrusted user: shihaam
GPG Key ID: 6DA2E87EBC227636

View File

@ -1,17 +1,11 @@
## Multi-arch support
- You maybe need to run this command to get buildx if you get this error
**Error:**
```
exec /bin/sh: exec format error
```
**Fixing command:**
- Install emualtor:
```bash
docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
docker run --privileged --rm tonistiigi/binfmt --uninstall qemu-* #Uninstall existing
docker run --privileged --rm tonistiigi/binfmt --install all
```
i have no idea what it does, but it seems to fix the thing ._.
- You MAY also need to set these variable before running build, depending on the docker version on host
```bash