Linux Docker and the underlying caching, nscd, hosts

if i place httpd in a docker container, should also start the nscd inside the container and configure the /etc/hosts, etc. or should i leave it to the underlying OS to do the caching and name resolve ? whats the best practice here ?

Thanks !!

  • Docker compose, running containers in net:host
  • How to deal with automatic capistrano symlinks and docker volumes
  • Modifying 201-vmss-ubuntu-autoscale Azure quickstart template to include Docker extension
  • My docker was stuck by down whalesay, what should I do?
  • where is the systemout log of websphere on docker?
  • How to install Material Design Lite Documentation Offline?
  • Docker Stack Swarm - Service Replicas are not spread for Mutli Service Stack
  • Reconstruct docker run command parameters from container
  • Is it possible to set the default command when the `docker exec` command is run on an already running container?
  • Cannot finde module 'express' (node app with docker)
  • Mounting volumes on Bluemix containers and sharing between them does not work
  • CI and CD implementation issues
  • One Solution collect form web for “Linux Docker and the underlying caching, nscd, hosts”

    The application running in the container will use the containers configuration to resolve DNS requests. This is dependent upon which source container you are running.

    If you need the container to have non default behaviour (say use a specific DNS server for resolution) then it is best to roll your own version of the container with modified DNS configuration.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.