拉取docker镜像
docker pull redroid/redroid:12.0.0_64only-latest
开启虚拟化
apt install linux-modules-extra-`uname -r`
modprobe binder_linux devices="binder,hwbinder,vndbinder"
modprobe ashmem_linux
启动容器
docker run --name=my_phone -itd --privileged \
-v ~/android/data:/data \
-p 5555:5555 redro