Merge pull request #174 from ywk253100/cgo

set cgo as the default DNS resolver
This commit is contained in:
Daniel Jiang 2016-04-29 18:28:03 +08:00
commit 9a0db22019
2 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,8 @@ services:
volumes:
- /data/registry:/storage
- ./config/registry/:/etc/registry/
environment:
- GODEBUG=netdns=cgo
ports:
- 5001:5001
command:

View File

@ -12,3 +12,4 @@ LDAP_URL=$ldap_url
LDAP_BASE_DN=$ldap_basedn
SELF_REGISTRATION=$self_registration
LOG_LEVEL=debug
GODEBUG=netdns=cgo