title: how to set docker host ip in container
body: <p>here's a docker conainer, providing html interface for user to set host pub ip address. 
  host is CentOS system, 
  container mount with</p>
  
  <pre><code>-v /etc/sysconfig/network-scripts:/host_network-scripts
  </code></pre>
  
  <p>to change if-eth0 static ip.</p>
  
  <p>but ifup or /etc/init.d/network cannot called in conainer, due to related scripts in host system.</p>
  
  <p>is there a way to solve this?</p>