title: Docker Error : Cannot use --lxc-conf with execdriver: native-0.2
body: <p>My requirement is I want to provide Static IP for the container.</p>
  
  <p>I use LXC-conf, <a href="http://shellfu.com/2014/11/docker-assigning-static-ip-addresses-to-containers/" rel="nofollow">such as the following link</a> to set the IP DHCP / Static.</p>
  
  <p>I've lakuakan namely</p>
  
  <pre><code> docker run \
   --net="none" \ 
   --lxc-conf="lxc.network.type = veth" \ 
   --lxc-conf="lxc.network.ipv4 = 192.168.23.38" \
   --lxc-conf="lxc.network.ipv4.gateway = 192.168.23.1" \
   --lxc-conf="lxc.network.link = dkr01" \
   --lxc-conf="lxc.network.name = eth0" \
   --lxc-conf="lxc.network.flags = up" \
   --lxc-conf="lxc.network.veth.pair = sts" 
   -h sts \
   --name sts \
   -d ubuntu_erp:latest
  </code></pre>
  
  <p>When executing the last syntax, an error "Error response from daemon: Cannot use --lxc-conf with execdriver: native-0.2"</p>
  
  <pre><code> docker run \
   --net="none" \ 
   --lxc-conf="lxc.network.type = veth" \ 
   --lxc-conf="lxc.network.ipv4 = 192.168.23.38" \
   --lxc-conf="lxc.network.ipv4.gateway = 192.168.23.1" \
   --lxc-conf="lxc.network.link = dkr01" \
   --lxc-conf="lxc.network.name = eth0" \
   --lxc-conf="lxc.network.flags = up" \
   --lxc-conf="lxc.network.veth.pair = sts" 
   -h sts \
   --name sts \
   -d ubuntu_erp:latest
   Error response from daemon: Cannot use --lxc-conf with execdriver: native-0.2
  </code></pre>
  
  <p>I ask for help, for what I need.</p>
  
  <p>Maybe of you who have a reliable docker, can help address my needs.
  Want to give a DHCP IP according to the local intranet.</p>