dotcloud/docker — pull request #5066 by crosbymichael (2014-04-08 02:38:38+00:00)
Title: Move DNS options to hostconfig

There is actually no need to merge anything with this PR. Because prior to this change, a container's resolv.conf is generated at create with the values from the server or config and the file is written to disk we don't need to migrate the values into the host config because they will never be used and we already have the existing data in the final resolv.conf file in the container's dir.

The other change is to make the local resolver warning display in the daemon instead of at create time. Because we set a default value the user cannot do anything about it. We don't have the needed data to display a warning at create because we don't have the host config. This seems like a good option because the local resolver is checked at startup and the runtime dns config is set with the default values. We still print the warning to the daemon logs so the user knows that happened.

Docker-DCO-1.1-Signed-off-by: Michael Crosby (github: crosbymichael)