Skip to content

Commit b892f7a

Browse files
committed
Having kubernetes' default search domains in dockerd is hazardous,
in particular in combination with docker-compose where you typically adress services using a short name only. Enforce the use of full DNS names.
1 parent 484607e commit b892f7a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docker/daemon.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"prod-registry.ystack.svc.cluster.local"
55
],
66
"tls": false,
7+
"dns-search": ["."],
78
"hosts": [
89
"tcp://0.0.0.0:2376"
910
]

0 commit comments

Comments
 (0)