title: every time when i start a container with docker it gets a different IP
body: <p>How do I fix a static IP for a container ?</p>
  
  <p>First I start a container and inspect it, it says  </p>
  
  <pre><code>"NetworkSettings": {
      "IPAddress": "XX.XX.206.98",
      "IPPrefixLen": 27,
      "Gateway": "XX.XX.206.105",
      "Bridge": "public",
      "PortMapping": null,
      "Ports": {}
  },
  </code></pre>
  
  <p>then I stop it, and restart, it like </p>
  
  <pre><code>"NetworkSettings": {
      "IPAddress": "XX.XX.206.99",
      "IPPrefixLen": 27,
      "Gateway": "XX.XX.206.105",
      "Bridge": "public",
      "PortMapping": null,
      "Ports": {}
  },
  </code></pre>
  
  <p>As you can  see, it changed. I just created a bridge named public, and start docker with  <code>-b=public</code> added. How can I set a static IP for a container?</p>