Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • H Harbor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • 小 白蛋
  • Harbor
  • Repository
Switch branch/tag
  • harbor
  • make
  • docker-compose.tpl
Find file BlameHistoryPermalink
  • Yan's avatar
    Limit dns search in harbor containers (#6058) · 985b570b
    Yan authored Oct 17, 2018
    This commit is to set dns search to null in the harbor containers,
    that means the dns search domains of docker host doesn't impact
    the network IO in the containers.
    
    If do not set this, Harbor notary-server and notary-signer are resolving
    the "mysql" alias to the resolv.conf search path instead of to "mysql."
    for the notary-db bridge IP, see #6031.
    
    According to docker official document, 'Use --dns-search=.' if you don't
    wish to set the search domain.
    
    https://docs.docker.com/v17.09/engine/userguide/networking/default_network/configure-dns/
    
    Signed-off-by: default avatarwang yan <wangyan@vmware.com>
    985b570b

免费DevSecOps平台,让您的项目体验完整的DevSecOps流程,让项目更安全