直到 fix 未合并到 master 分支,要获取主机IP,只需从容器内部运行:
master
ip -4 route list match 0/0 | cut -d' ' -f3
(根据建议 @Mahoney here )