Skip to content

新增 --extra-host 參數 #24

Description

@kth-tw

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions