# Anbox LXC Config lxc.rootfs.path = /home/anbox/rootfs lxc.utsname = anbox lxc.arch = aarch64 lxc.autodev = 0 # lxc.autodev.tmpfs.size = 25000000 lxc.aa_profile = unconfined lxc.init_cmd = /init lxc.mount.auto = cgroup:ro sys:ro proc lxc.network.type = veth lxc.network.flags = up lxc.network.link = lxcbr0 lxc.network.name = eth0 lxc.network.hwaddr = 00:16:3e:f9:d3:03 lxc.network.mtu = 1500 # Necessary dev nodes lxc.mount.entry = tmpfs dev tmpfs nosuid 0 0 lxc.mount.entry = /dev/zero dev/zero none bind,create=file,optional 0 0 lxc.mount.entry = /dev/full dev/full none bind,create=file,optional 0 0 lxc.mount.entry = /dev/ashmem dev/ashmem none bind,create=file,optional 0 0 lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file,optional 0 0 lxc.mount.entry = /dev/ion dev/ion none bind,create=file,optional 0 0 lxc.mount.entry = /dev/char dev/char none bind,create=dir,optional 0 0 # Graphic dev nodes lxc.mount.entry = /dev/kgsl-3d0 dev/kgsl-3d0 none bind,create=file,optional 0 0 lxc.mount.entry = /dev/mali0 dev/mali0 none bind,create=file,optional 0 0 lxc.mount.entry = /dev/pmsg0 dev/pmsg0 none bind,create=file,optional 0 0 lxc.mount.entry = /dev/fb0 dev/fb0 none bind,create=file,optional 0 0 lxc.mount.entry = /dev/graphics/fb0 dev/graphics/fb0 none bind,create=file,optional 0 0 lxc.mount.entry = /dev/fb1 dev/fb1 none bind,create=file,optional 0 0 lxc.mount.entry = /dev/graphics/fb1 dev/graphics/fb1 none bind,create=file,optional 0 0 lxc.mount.entry = /dev/fb2 dev/fb2 none bind,create=file,optional 0 0 lxc.mount.entry = /dev/graphics/fb2 dev/graphics/fb2 none bind,create=file,optional 0 0 lxc.mount.entry = /dev/dri dev/dri none bind,create=dir,optional 0 0 # Binder dev nodes lxc.mount.entry = /dev/anbox-binder dev/binder none bind,create=file 0 0 lxc.mount.entry = /dev/anbox-vndbinder dev/vndbinder none bind,create=file 0 0 lxc.mount.entry = /dev/anbox-hwbinder dev/hwbinder none bind,create=file 0 0 lxc.mount.entry = /dev/hwbinder dev/host_hwbinder none bind,create=file 0 0 # Necessary device nodes for adb lxc.mount.entry = none dev/pts devpts defaults,mode=644,ptmxmode=666,create=dir 0 0 lxc.mount.entry = /dev/uhid dev/uhid none bind,create=file,defaults,optional 0 0 # Low memory killer sys node lxc.mount.entry = /sys/module/lowmemorykiller sys/module/lowmemorykiller none bind,create=dir,optional 0 0 # Mount /data lxc.mount.entry = tmpfs mnt tmpfs mode=0755,uid=0,gid=1000 lxc.mount.entry = /home/anbox/data data none bind 0 0 # Mount host /vendor to /vendor_extra lxc.mount.entry = /vendor vendor_extra none bind,optional 0 0 # Recursive mount /run to provide necessary host sockets lxc.mount.entry = /run run none rbind,create=dir 0 0 lxc.hook.post-stop = /dev/null