-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
version: '3'
services:
hass-panel:
container_name: hass-panel
image: registry.cn-hangzhou.aliyuncs.com/hass-panel/hass-panel:latest
restart: unless-stopped
network_mode: host
volumes:
- ./data:/config/hass-panel
docker-compose up
2026-01-15 18:04:48,959 - INFO - Starting service: hass-panel (Container: hass-panel)
2026-01-15 18:04:48,959 - INFO - Executing: /data/data/com.termux/files/usr/bin/python -m android_docker.docker_cli run --name hass-panel registry.cn-hangzhou.aliyuncs.com/hass-panel/hass-panel:latest
2026-01-15 18:04:49,083 - INFO - 启动容器: hass-panel
2026-01-15 18:04:49,099 - INFO - ✓ proot 已安装
2026-01-15 18:04:49,099 - INFO - ✓ create_rootfs_tar.py module is available
2026-01-15 18:04:49,133 - INFO - ✓ curl 已安装
2026-01-15 18:04:49,142 - INFO - ✓ tar 已安装
2026-01-15 18:04:49,143 - WARNING - 在Android环境中运行容器。注意:proot提供进程隔离,而非完整的容器化。某些系统调用可能不受支持,性能可能低于原生Docker。
2026-01-15 18:04:49,143 - INFO - 准备根文件系统...
2026-01-15 18:04:49,143 - INFO - 检测到镜像URL: registry.cn-hangzhou.aliyuncs.com/hass-panel/hass-panel:latest
2026-01-15 18:04:49,143 - INFO - 使用缓存的镜像: /data/data/com.termux/files/home/.docker_proot_cache/hass-panel_fcd55402b2cd391b.tar.gz
2026-01-15 18:04:49,143 - INFO - 缓存创建时间: 2026-01-15 17:02:02
2026-01-15 18:04:49,144 - INFO - 检测到tar文件,正在解压: /data/data/com.termux/files/home/.docker_proot_cache/hass-panel_fcd55402b2cd391b.tar.gz -> /data/data/com.termux/files/usr/tmp/proot_runner_wual3qz3/rootfs
2026-01-15 18:04:52,197 - INFO - 根文件系统已解压到: /data/data/com.termux/files/usr/tmp/proot_runner_wual3qz3/rootfs
2026-01-15 18:04:52,198 - INFO - 找到镜像配置: /data/data/com.termux/files/usr/tmp/proot_runner_wual3qz3/rootfs/.image_config.json
2026-01-15 18:04:52,199 - INFO - 已准备 5 个可写系统目录
2026-01-15 18:04:52,200 - INFO - 已启用Android可写目录支持
2026-01-15 18:04:52,200 - INFO - 使用镜像默认命令: Entrypoint = ['/docker-entrypoint.sh']
2026-01-15 18:04:52,200 - INFO - 启动容器...
2026-01-15 18:04:52,201 - INFO - 进入容器环境...
2026-01-15 18:04:52,201 - INFO - 检测到Android环境,调整环境变量...
proot error: '/bin/bash' is not executable
fatal error: see `proot --help`.
2026-01-15 18:04:52,740 - INFO - 清理临时目录: /data/data/com.termux/files/usr/tmp/proot_runner_wual3qz3
2026-01-15 18:04:52,741 - INFO - 容器 hass-panel 运行完成
# u0_a46 @ localhost in ~/tools/hass-panel [18:04:53]
$ proot -V
_____ _____ ___
| __ \ __ \_____ _____| |_
| __/ / _ \/ _ \ _|
|__| |__|__\_____/\_____/\____| 5.1.0
built-in accelerators: process_vm = yes, seccomp_filter = yes
Visit http://proot.me for help, bug reports, suggestions, patchs, ...
Copyright (C) 2015 STMicroelectronics, licensed under GPL v2 or later.
# u0_a46 @ localhost in ~/tools/hass-panel [18:06:14]
$ which bash
/data/data/com.termux/files/usr/bin/bash
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels