0
点赞
收藏
分享

微信扫一扫

Docker Homeassistant安装HACS遇到的问题

登高且赋 2022-02-06 阅读 232
docker容器

安装执行:

wget -O - https://get.hacs.xyz | bash -

遇到地址(0.0.0.0):

Connecting to get.hacs.xyz (172.67.132.174:443)
Connecting to raw.githubusercontent.com (0.0.0.0:443)
wget: can't connect to remote host (0.0.0.0): Connection refused

或者是Invalid argument:


bash-5.1# wget -O - https://get.hacs.xyz | bash -
Connecting to get.hacs.xyz (172.67.132.174:443)
Connecting to raw.githubusercontent.com (185.199.110.133:443)
writing to stdout
-                    100% |********************************|  2473  0:00:00 ETA
written to stdout
INFO: Trying to find the correct directory...
INFO: Found Home Assistant configuration directory at '/config'
INFO: Changing to the custom_components directory...
INFO: Downloading HACS
Connecting to github.com (140.82.113.4:443)
wget: error getting response: Invalid argument

解决方法:

用域名IP查询工具,找到raw.githubusercontent.com和github.com的IP,添加到hosts中

vi /etc/hosts
举报

相关推荐

0 条评论