title: docker-compose volume not mounted
body: <p>My docker-compose.yml is:</p>
  
  <pre><code>version: '2'
  services:
    joomla:
      image: joomla
      links:
        - joomladb:mysql
      volumes:
        - "./www:/var/www/html"
      ports:
        - 9010:80
      environment:
        MYSQL_PORT_3306_TCP: 3306
        JOOMLA_DB_HOST: joomladb
        JOOMLA_DB_PASSWORD: "example"
        JOOMLA_DB_USER: "root"
        JOOMLA_DB_NAME: "joomla"
  
    joomladb:
      image: mysql:5.6
      ports:
        - "3306:3306"
      environment:
        MYSQL_ROOT_PASSWORD: "example"
        MYSQL_DATABASE: "joomla"
      volumes:
        - "./db:/var/lib/mysql"
    phpmyadmin:
      image: phpmyadmin/phpmyadmin
      ports:
       - 9011:80
      environment:
        MYSQL_ROOT_PASSWORD: "example"
        MYSQL_DATABASE: "joomla"
      container_name: phpmyadmin
  </code></pre>
  
  <p>/var/www/html is mounted in the host (dir www) with all the joomla files.
  However host directory ./db is not even created.</p>
  
  <p>However if I get into db container, directory is not empty:</p>
  
  <pre><code>root@docker1:/home/juanda/soplaelcierzo# docker exec -t -i 959 /bin/bash
  root@95926c23f49a:/# cd /var/lib/mysql/
  root@95926c23f49a:/var/lib/mysql# ls
  auto.cnf  ib_logfile0  ib_logfile1  ibdata1  joomla  joomladb  mysql  performance_schema
  </code></pre>