Open pxd0207 opened 1 year ago
arm 镜像是GitHub Action 自动构建的,wine 等并没有针对 arm 做适配,我也没法对其适配(没 arm 的机子,也不保证我有能力进行适配)
如有能力可以参考: https://wiki.winehq.org/Emulation
理论上你只需要参考本文: https://www.kali.org/docs/arm/x86-on-arm/
sudo apt install -y qemu-user-static binfmt-support
sudo dpkg --add-architecture amd64
添加好 qemu x86_64 支持
然后强制拉取运行 x86_64 的镜像,就可以在 甲骨文arm 上运行本镜像,参考 https://stackoverflow.com/questions/65612411/forcing-docker-to-use-linux-amd64-platform-by-default-on-macos
更多细节自行研究。
也欢迎在本条下回复说明你具体适配的过程,完善更多细节方便后人
我在docker compose文件里加了platform: linux/amd64
参数项,拉取的是amd64的镜像。尽管添加好了qemu x86_64的支持,但是还是无法启动容器,重启了几次也不行。报错日志如下:
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Cleaning stale pidfile '/root/.vnc/debian.debian:5905.pid'!
Cleaning stale X11 lock '/tmp/.X5-lock'!
Cleaning stale X11 lock '/tmp/.X11-unix/X5'!
New Xtigervnc server 'debian.debian:5 (root)' on port 5905 for display :5.
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /root/.vnc/passwd debian.debian:5 to connect to the VNC server.
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
---All in one 微信 ComRobot 容器---
启动容器中...
等待 5 秒再 hook
感谢使用.
我在docker compose文件里加了
platform: linux/amd64
参数项,拉取的是amd64的镜像。尽管添加好了qemu x86_64的支持,但是还是无法启动容器,重启了几次也不行。报错日志如下:qemu: uncaught target signal 11 (Segmentation fault) - core dumped Cleaning stale pidfile '/root/.vnc/debian.debian:5905.pid'! Cleaning stale X11 lock '/tmp/.X5-lock'! Cleaning stale X11 lock '/tmp/.X11-unix/X5'! New Xtigervnc server 'debian.debian:5 (root)' on port 5905 for display :5. Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /root/.vnc/passwd debian.debian:5 to connect to the VNC server. qemu: uncaught target signal 11 (Segmentation fault) - core dumped ---All in one 微信 ComRobot 容器--- 启动容器中... 等待 5 秒再 hook 感谢使用.
你这个Dockerfile怎么修改来支持的qemu x86_64,我也想试试
借用box86+wine已实现arm版,可正常运行微信,注入hook
大佬写个教程
大佬写个教程
基于ARM架构适配的docker微信机器人,欢迎大佬们享用: https://blog.linrol.cn/archives/1703220186416