redroid-doc
redroid-doc copied to clipboard
Mac m1 pd_to ubuntu2004 .The container is alive but not connected
Mac m1 =--=Parallels Desktop=--=> ubuntu 20.04 arm
(base) ╭─root at ubuntu2004 in ~/test 23-03-11 - 19:08:40
╰─○ uname -a
Linux ubuntu2004 5.15.0-67-generic #74~20.04.1-Ubuntu SMP Wed Feb 22 14:52:19 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
(base) ╭─root at ubuntu2004 in ~/test 23-03-11 - 19:08:40
╰─○ cat docker-compose.yml
version: '3.9'
services:
mycontainer:
image: redroid/redroid:12.0.0-arm64
privileged: true
volumes:
- ./data:/data
ports:
- "5555:5555"
environment:
- redroid.gpu.mode=guest
The container is alive but not connected
Describe the bug adb connection will be disconnected will in link use scrcpy
❯ scrcpy --serial 10.211.55.10:5555
scrcpy 1.25 <https://github.com/Genymobile/scrcpy>
adb: error: connect failed: closed
2023-03-11 18:56:02.532 scrcpy[38816:8479957] ERROR: "adb push" returned with value 1
2023-03-11 18:56:02.532 scrcpy[38816:8479953] ERROR: Server connection failed
make sure the required kernel modules present
-
grep binder /proc/filesystems
[tmp.Ir7DghaksK.tgz](https://github.com/remote-android/redroid-doc/files/10948374/tmp.Ir7DghaksK.tgz)
sh
╰─○ grep binder /proc/filesystems
nodev binder
-
grep ashmem /proc/misc
(base) ╭─root at ubuntu2004 in ~/test 23-03-11 - 19:01:49
╰─○ grep ashmem /proc/misc
123 ashmem
collect debug logs
curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- [CONTAINER]
omit CONTAINER if not exist any more.
debug for container