首先在OpenWrt的Docker目录下创建 jobs.json , 内容如下:

[email protected]:/opt/docker/hassio# cat jobs.json

{"ignore_conditions": ["healthy"]}

视频教程:

aarch64 架构包括树莓派3b+和4b,斐讯N1 和各种Arm架构的64位处理器设备。

docker run -d --name hassio_supervisor --privileged \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/run/dbus:/var/run/dbus \
-v /opt/docker/hassio:/data \
-e SUPERVISOR_SHARE="/opt/docker/hassio" \
-e SUPERVISOR_NAME=hassio_supervisor \
-e HOMEASSISTANT_REPOSITORY="homeassistant/qemuarm-64-homeassistant" \
--restart unless-stopped homeassistant/aarch64-hassio-supervisor:2020.12.7
x86_64架构的OpenWrt,一般虚拟机下的OpenWrt都是这个架构。

docker run -d --name hassio_supervisor --privileged \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/run/dbus:/var/run/dbus \
-v /opt/docker/hassio:/data \
-e SUPERVISOR_SHARE="/opt/docker/hassio" \
-e SUPERVISOR_NAME=hassio_supervisor \
-e HOMEASSISTANT_REPOSITORY="homeassistant/qemux86-64-homeassistant" \
--restart unless-stopped homeassistant/amd64-hassio-supervisor:2020.12.7

10 对 “OpenWrt 的docker环境安装HassIO,支持斐讯N1的OpenWrt。”的想法;

  1. error pulling image configuration: Get “https://registry-1.docker.io/v2/homeassistant/aarch64-hassio-supervisor/blobs/sha256:4483acfac29363075cb3bc2515f0cc839c7c96e20b9e684b1cf0e4b783377884”: net/http: TLS handshake timeout.

  2. Unable to find image ‘homeassistant/amd64-hassio-supervisor:2020.12.7’ locally
    docker: Error response from daemon: Get “https://registry-1.docker.io/v2/”: dial tcp: lookup registry-1.docker.io on [::1]:53: server misbehaving.
    See ‘docker run –help’.

    docker 重启也没有用

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

Advertisment ad adsense adlogger