Skip to content

container exit code 129 #922

@Dialgatrainer02

Description

@Dialgatrainer02

Describe the bug
请详细描述问题(ZH_CN)
A clear and concise description of what the bug is.
when starting the container via docker compose it fails with exit code 129

make sure the required kernel modules present
确保必须的内核功能已开启(ZH_CN)

  • grep binder /proc/filesystems
  • grep ashmem /proc/misc (optional)
    i use memfd

Collect debug logs
收集调试日志(ZH_CN)
curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- [CONTAINER]
omit CONTAINER if not exist any more.
如容器已退出,可忽略CONTAINER参数(ZH_CN)

redroid-debug.96qQb3lf.tgz

services:
  redroid:
    container_name: redroid
    image: redroid/redroid:16.0.0-latest
    privileged: true
    stdin_open: true
    tty: true
    pull_policy: always
    ports:
      - "5555:5555"
      - "5554:5554"
    volumes:
      - ./emulator/data:/data
    command:
      - ro.secure=0
      - ro.debuggable=1
      - androidboot.redroid_gpu_mode=auto
      - androidboot.use_memfd=true

Screenshots
截图(ZH_CN)
If applicable, add screenshots to help explain your problem.

dmesg

[Tue Mar 24 12:07:09 2026] init: mkdir("/dev/pts", 0755) failed File exists
[Tue Mar 24 12:07:09 2026] init: mount("sysfs", "/sys", "sysfs", 0, NULL) failed Device or resource busy
[Tue Mar 24 12:07:09 2026] init: mount("selinuxfs", "/sys/fs/selinux", "selinuxfs", 0, NULL) failed No such file or directory
[Tue Mar 24 12:07:09 2026] init: mknod("/dev/kmsg", S_IFCHR | 0600, makedev(1, 11)) failed File exists
[Tue Mar 24 12:07:09 2026] init: mknod("/dev/random", S_IFCHR | 0666, makedev(1, 8)) failed File exists
[Tue Mar 24 12:07:09 2026] init: mknod("/dev/urandom", S_IFCHR | 0666, makedev(1, 9)) failed File exists
[Tue Mar 24 12:07:09 2026] init: mknod("/dev/ptmx", S_IFCHR | 0666, makedev(5, 2)) failed File exists
[Tue Mar 24 12:07:09 2026] init: mknod("/dev/null", S_IFCHR | 0666, makedev(1, 3)) failed File exists
[Tue Mar 24 12:07:09 2026] init: init first stage started!
[Tue Mar 24 12:07:09 2026] init: Unable to open /lib/modules, skipping module loading.
[Tue Mar 24 12:07:09 2026] init: [libfstab] Using Android DT directory /proc/device-tree/firmware/android/
[Tue Mar 24 12:07:09 2026] init: [libfstab] ReadFstabFromDt(): failed to read fstab from dt
[Tue Mar 24 12:07:09 2026] init: [libfstab] ReadDefaultFstab(): failed to find device default fstab
[Tue Mar 24 12:07:09 2026] init: Failed to create FirstStageMount : failed to read default fstab for first stage mount
[Tue Mar 24 12:07:09 2026] init: Skipped setting INIT_AVB_VERSION (not in recovery mode)
[Tue Mar 24 12:07:09 2026] init: init second stage started!
[Tue Mar 24 12:07:09 2026] selinux: SELinux: SELinux is disabled, skipping restorecon
[Tue Mar 24 12:07:09 2026] selinux: SELinux: SELinux is disabled, skipping restorecon
[Tue Mar 24 12:07:09 2026] init: InitFatalReboot: signal 7
[Tue Mar 24 12:07:09 2026] init: #00 pc 000000000017e96c /system/bin/init (android::init::InitFatalReboot(int)+300) (BuildId: 8a7d2f1b62db23b0dd94c94e2018b051)
[Tue Mar 24 12:07:09 2026] init: #1 pc 000000000017ee58 /system/bin/init (android::init::InstallRebootSignalHandlers()::$_0::__invoke(int)+24) (BuildId: 8a7d2f1b62db23b0dd94c94e2018b051)
[Tue Mar 24 12:07:09 2026] init: #2 pc 000000000008df30 /system/lib64/bootstrap/libc.so (__restore_rt) (BuildId: f6e74071da3ede4e8436e56e6652ab08)
[Tue Mar 24 12:07:09 2026] init: #3 pc 0000000000067786 /system/lib64/bootstrap/libc.so (prop_area::map_prop_area_rw(char const*, char const*, bool*)+230) (BuildId: f6e74071da3ede4e8436e56e6652ab08)
[Tue Mar 24 12:07:09 2026] init: #4 pc 0000000000066351 /system/lib64/bootstrap/libc.so (ContextNode::Open(bool, bool*)+321) (BuildId: f6e74071da3ede4e8436e56e6652ab08)
[Tue Mar 24 12:07:09 2026] init: #5 pc 0000000000067356 /system/lib64/bootstrap/libc.so (ContextsSerialized::Initialize(bool, char const*, bool*, bool)+342) (BuildId: f6e74071da3ede4e8436e56e6652ab08)
[Tue Mar 24 12:07:09 2026] init: #6 pc 0000000000068487 /system/lib64/bootstrap/libc.so (SystemProperties::AreaInit(char const*, bool*, bool)+407) (BuildId: f6e74071da3ede4e8436e56e6652ab08)
[Tue Mar 24 12:07:09 2026] init: #7 pc 0000000000082fbf /system/lib64/bootstrap/libc.so (__system_property_area_init+47) (BuildId: f6e74071da3ede4e8436e56e6652ab08)
[Tue Mar 24 12:07:09 2026] init: #8 pc 000000000016ab1d /system/bin/init (android::init::PropertyInit()+1981) (BuildId: 8a7d2f1b62db23b0dd94c94e2018b051)
[Tue Mar 24 12:07:09 2026] init: #9 pc 000000000013f9bf /system/bin/init (android::init::SecondStageMain(int, char**)+623) (BuildId: 8a7d2f1b62db23b0dd94c94e2018b051)
[Tue Mar 24 12:07:09 2026] init: #10 pc 0000000000064015 /system/lib64/bootstrap/libc.so (__libc_init+117) (BuildId: f6e74071da3ede4e8436e56e6652ab08)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions