本帖最后由 lidicn 于 2017-12-14 14:06 编辑
前置环境:
【Ubuntu】https://bbs.hassbian.com/thread-827-1-1.html
【树莓派debian】https://bbs.hassbian.com/thread-956-1-1.html
等宿主环境,不推荐官方的reios【阉割得太严重了】
安装glance的docker
sudo docker run -d --restart="always" -p 61208-61209:61208-61209 -e GLANCES_OPT="-w" -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host docker.io/nicolargo/
不用docker,也可以直接安装。参考https://hub.docker.com/r/nicolargo/glances/
浏览器测试下
|