title: Docker lamp container connection to DB
body: <p>I pulled this image on docker:</p>
  
  <p><a href="https://hub.docker.com/r/fauria/lamp/" rel="nofollow noreferrer">https://hub.docker.com/r/fauria/lamp/</a></p>
  
  <p>After I launched a container mapping my path to /var/www/html and I've downloaded WordPress file to try the container.</p>
  
  <p>The problem is that I always get this: "Warning: mysqli_real_connect(): (HY000/1698): Access denied for user 'root'@'localhost' in /var/www/html/wp-includes/wp-db.php on line 1531"</p>
  
  <p>how can I let WP access to mariaDB?</p>