From 85b8025a35c29e0832fd13adc55177758ecbb309 Mon Sep 17 00:00:00 2001 From: unclejack Date: Mon, 17 Feb 2014 23:09:09 +0200 Subject: [PATCH] update warning about local dns resolvers This changes the local DNS resolver warning to explain what the warning is about and why the default external DNS server is used. Docker-DCO-1.1-Signed-off-by: Cristian Staretu (github: unclejack) --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 46ab33b467..0ed96fee31 100644 --- a/server.go +++ b/server.go @@ -1647,7 +1647,7 @@ func (srv *Server) ContainerCreate(job *engine.Job) engine.Status { return job.Error(err) } if !config.NetworkDisabled && len(config.Dns) == 0 && len(srv.runtime.config.Dns) == 0 && utils.CheckLocalDns(resolvConf) { - job.Errorf("WARNING: Docker detected local DNS server on resolv.conf. Using default external servers: %v\n", defaultDns) + job.Errorf("WARNING: Local (127.0.0.1) DNS resolver found in resolv.conf and containers can't use it. Using default external servers : %v\n", defaultDns) config.Dns = defaultDns }