title: How to bind mysql port from host to docker container without port clash
body: <p>I have a docker container running a Flask application that connects to a mySQL server. The mySQL server is hosted on the host machine at port 3308 on a windows 10 machine.</p>
  
  <p>When executing
  <code>docker run -p 5000:5000 -p 3308:3308 -t webui</code></p>
  
  <p>I receive the error
  <code>Ports are not available: listen tcp 0.0.0.0:3308: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.</code>
  due to the port being used by the mySQL server on the host machine</p>
  
  <p>How do I map the port of the mySQL to the docker container such that the Flask application can access the database?</p>