Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新增 --extra-host 參數 #24

Open
kth-tw opened this issue Dec 9, 2021 · 0 comments
Open

新增 --extra-host 參數 #24

kth-tw opened this issue Dec 9, 2021 · 0 comments

Comments

@kth-tw
Copy link
Collaborator

kth-tw commented Dec 9, 2021

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants