Docker Error : Cannot use –lxc-conf with execdriver: native-0.2

My requirement is I want to provide Static IP for the container.

I use LXC-conf, such as the following link to set the IP DHCP / Static.

  • Connect Docker Containers with remote debugger
  • What is the most simple setup for a MEAN stack docker container to have the same config on OS X and DigitalOcean?
  • How to configure the directory where to store each database?
  • Unable to access hosted app from docker in Windows
  • Make Docker machine very fast
  • Can't install package on alpine though I can see it in the ui
  • I’ve lakuakan namely

     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
    

    When executing the last syntax, an error “Error response from daemon: Cannot use –lxc-conf with execdriver: native-0.2”

     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
    

    I ask for help, for what I need.

    Maybe of you who have a reliable docker, can help address my needs.
    Want to give a DHCP IP according to the local intranet.

  • Why google drive change permission of the file and how to solve it?
  • What would keep docker engine from upgrading to 1.11 on Ubuntu 14.04?
  • Limit elasticsearch indexes in size and rollover when the limit is reached
  • docker install nsenter , command not found
  • Kubernetes node Device port (USB) maping to POD? Or Swarm service --device mapping
  • Docker volume mounts with template strings in Docker Compose
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.