ISSUE
說明 (Description)
新增指令參數 --extra-host
種類 (Issue Type)
[x] Feature Request
[ ] Report Bug
[ ] Other
新功能 (Feature Request)
希望新增此功能的原因 (Reason for this Feature)
因為 peer/orderer 都在 docker 裡面跑,吃不到 host 的 /etc/hosts
若機器在內網,且沒有內網 DNS 時,無法透過 domain 解析到其他 peer/orderer
可能的解法 (Proposed Solution)
在跑 docker run 的指令把 extra hosts 加到 --add-host 的參數
在產 docker-compose.yaml 的指令,將把 extra hosts 加到 extra_hosts 欄位
其他說明 (Additional Context)
ISSUE
說明 (Description)
新增指令參數
--extra-host種類 (Issue Type)
[x] Feature Request
[ ] Report Bug
[ ] Other
新功能 (Feature Request)
希望新增此功能的原因 (Reason for this Feature)
因為 peer/orderer 都在 docker 裡面跑,吃不到 host 的
/etc/hosts若機器在內網,且沒有內網 DNS 時,無法透過 domain 解析到其他 peer/orderer
可能的解法 (Proposed Solution)
在跑 docker run 的指令把 extra hosts 加到
--add-host的參數在產 docker-compose.yaml 的指令,將把 extra hosts 加到
extra_hosts欄位其他說明 (Additional Context)