If --dns and --dns-search are not specified when the container is started, Docker will use /etc/resolv.conf on the host host to configure the container's DNS by default.