1
7
38
新手上路
使用道具 举报
18
295
3105
论坛DIY达人
花落花空 发表于 2022-9-26 10:47 ha容器的网络模式直接改host,端口转发到软路由lan口ip即可
realajks 发表于 2022-9-26 11:17 应该怎么改成host?
花落花空 发表于 2022-9-26 11:23 op的docker界面,点进容器,复制/编辑,该这个地方,
5
123
750
高级会员
251114061 发表于 2022-9-26 14:11 你是公网ip吗 端口是转发到wan
docker run -d \ --name homeassistant \ --privileged \ --restart=unless-stopped \ -v /opt/homeassistant:/config \ --network=host \ ghcr.io/home-assistant/home-assistant:stable
6
181
1450
金牌会员
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2025-3-19 03:43 , Processed in 0.138631 second(s), 34 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.