title: How to access remotely a dockerised database container in Ubuntu OS?
body: <p><strong>Current Situation :</strong>
  In my company we are using a windows server, in which we have installed Docker Quickstart Terminal. We have made a mysql-container and made a DB inside. We access the DB with python apps in <strong>remote</strong> pcs by using the server's IP in the code (host argument):</p>
  
  <p><code>connx = mysql.connector.connect(user='root', password='somepass', host='192.XXX.XX.XX', port=3306,               database='db_name', auth_plugin='mysql_native_password')</code></p>
  
  <p>but we used port-forward in the server-side to access the dockerised DB, thus the packets are forwarded to 192.168.99.100 (default docker IP)</p>
  
  <p><strong>Future Situation</strong>:
  The company has decided to change the server and use Ubuntu instead (v18.04 i think). Unfortunately i have very little experience with linux and could not find a simple answer as the following online :</p>
  
  <p>'Which IP should we use on the host argument above ?' 
  Docker installation on linux does not seem to install a VM, so will the new server's IP be enough to access the dockerised IP remotely ?</p>
  
  <p>PS : we will probably do a 'docker run  -p 3306:3306 mysql:latest' command on the server to expose the ports</p>