目录

前言

也许我们会用Windows Server服务器来进行一些挂机操作,但是有些应用只能用手机来完成。这时候,我们便可以动手搭建一部自己的“云手机”。

apt install linux-modules-extra-`uname -r`
modprobe binder_linux devices="binder,hwbinder,vndbinder"
modprobe ashmem_linux


docker run -itd \
    --privileged --pull always \
    -v /root/ZMQ/Android8:/data \
    -p 3141:5555 \
    redroid/redroid:8.1.0-arm64 \
    androidboot.hardware=mt6891 ro.secure=0 ro.boot.hwc=GLOBAL    ro.ril.oem.imei=861503068361145 ro.ril.oem.imei1=861503068361145 ro.ril.oem.imei2=861503068361148 ro.ril.miui.imei0=861503068361148 ro.product.manufacturer=Xiaomi ro.build.product=chopin \
    redroid.width=1080 redroid.height=1800 \
    redroid.gpu.mode=guest \
    --rm \

已有 2 条评论

  1. 如果需要限制CPU使用,在最后一行添加
    --cpus="2"

  2. 这样,4核服务器的CPU使用率限制为50%。

发表评论