使用的是树莓派仪表盘 ,进行了些许改动。
因为是在docker容器里,有些信息获取不准,例如IP、主机名。
docker run -d -p 暴露端口:80 -v /proc:/proc tomatocuke/pi-dashboard /bin/sh -c "nginx && php-fpm81 && tail -f /dev/null"
Content type
Image
Digest
sha256:af18aeed3…
Size
15.8 MB
Last updated
over 3 years ago
docker pull tomatocuke/pi-dashboard