This commit is contained in:
fa0311 2022-05-30 02:50:26 +09:00
parent 78a25a1720
commit fc320e4272

View File

@ -75,7 +75,7 @@ sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --n
<a name="net-host"></a>
{{% notice note %}}
--net=host only works on Linux so far as I know, which make hbbs/hbbr can see the real incomming ip rather than container ip (172.17.0.1).
--net=host only works on Linux so far as I know, which make hbbs/hbbr can see the real incoming ip rather than container ip (172.17.0.1).
If --net=host works fine, -p options are useless.
**Please remove --net=host if see connection problem on your platform**