mysql docker container start with a fixed ip
<p>hi I have a mysql container running as a service, and for other services connect it with a jdbc url, with a ip:port.</p>

<p>and for sometimes the server needs to reboot. and the ip addr of mysql container will change, for every service needs to connect to mysql, the jdbc url needs to be modified.</p>

<p>is there a way to 'docker start' a container with a fixed ip address?</p>

<p>I've tried --ip but it's not working</p>

<p>docker version 1.11.2</p>