title: How to apply kernel tuning on docker container
body: <p>I m building 3 different application container with docker engine v1.12 on the top of CentOS 7.2 operating system i.e. Nginx, mysql and mongo. I want to apply different kernel settings based on application and their respective container. </p>
  
  <p>For example, I want to set <code>vm.zone_reclaim_mode</code> to <code>0</code> on Mongo and mysql container whereas want to keep <code>vm.zone_reclaim_mode</code> to <code>1</code> on nginx container. I tried to initiate image with docker <code>--privileged</code> command and modified kernel settings but its altered settings of host operating system and applied the same to all containers. </p>
  
  <p>I already gone through many documentation and understood that containers run with host kernel.</p>
  
  <p>I would like to know is there any way to keep kernel settings for container specific? </p>