title: Inconsistent runtime kernel parameters in DOCKER container and on host
body: <p>my host is on Ubuntu 14.04.2 LTS and I'm using the latest centos base image in order to create a DOCKER image of IBM InfoSphere BigInsights in order to push it to the Bluemix Container Cloud.</p>
  
  <p>I've solved nearly everything but I'm stuck with setting runtime kernel parameters using sysctl because they have the wrong value and the installer complains.</p>
  
  <pre><code>sysctl -a |grep net.ipv4.ip_local_port_range
  net.ipv4.ip_local_port_range = 32768    61000
  </code></pre>
  
  <p>Of course it is not possible to set them inside the DOCKER container, I get the following error:</p>
  
  <pre><code>sysctl -w net.ipv4.ip_local_port_range="1024 64000"
  sysctl: setting key "net.ipv4.ip_local_port_range": Read-only file system
  </code></pre>
  
  <p>So I've set the parameters on the host system:</p>
  
  <pre><code>sudo sysctl -w net.ipv4.ip_local_port_range="1024 64000"
  net.ipv4.ip_local_port_range = 1024 64000
  
  sudo sysctl -a |grep net.ipv4.ip_local_port_range
  net.ipv4.ip_local_port_range = 1024 64000
  </code></pre>
  
  <p>I've even rebuilt the whole image and re-created the container but still inside the DOCKER container I get:</p>
  
  <pre><code>sysctl -a |grep net.ipv4.ip_local_port_range
  net.ipv4.ip_local_port_range = 32768    61000
  </code></pre>
  
  <p>Any ideas?</p>