Skip to content

Commit

Permalink
Limit DNS search to absolute hostnames. (#64)
Browse files Browse the repository at this point in the history
- the native go DNS resolver doesn't handle `ndots:0` anyway
   (golang/go#15419)
 - we might as well set our containers DNS configuration to absolute
   hostnames for consistency.
  • Loading branch information
bombela committed Jun 20, 2016
1 parent 0fb4aaf commit 432b2fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose-fail.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
crossdock:
dns_search: .
build: .
links:
- alpha
Expand All @@ -20,6 +21,7 @@ crossdock:
- .crossdock:/crossdock

alpha:
dns_search: .
image: breerly/hello-server
ports:
- 8080
Expand All @@ -28,6 +30,7 @@ alpha:
- HELLO_MESSAGE=[{"status":"passed","output":"sup"}]

omega:
dns_search: .
image: breerly/hello-server
ports:
- 8080
Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
crossdock:
dns_search: .
build: .
links:
- alpha
Expand All @@ -20,6 +21,7 @@ crossdock:
- .crossdock:/crossdock

alpha:
dns_search: .
image: breerly/hello-server
ports:
- 8080
Expand All @@ -28,6 +30,7 @@ alpha:
- HELLO_MESSAGE=[{"status":"passed","output":"sup"}]

omega:
dns_search: .
image: breerly/hello-server
ports:
- 8080
Expand Down

0 comments on commit 432b2fe

Please sign in to comment.