I’m having problem with docker-compose in toolbox. My docker-compose like this
version: "3" services: php: image: drupal:8.2-apache restart: always ports: - 80:80 links: - mysql volumes: - c:\drupal\php\source:/var/www/html container_name: php-server-drupal mysql: image: mysql:5.6 restart: always environment: MYSQL_ROOT_PASSWORD: 123456 ports: - 3306:3306 volumes: - c:\drupal\mysql:/var/lib/mysql container_name: mysql-server-drupal
I cannot share folder from host to container c:\drupal\php\source => /var/www/html and c:\drupal\mysql=>/var/lib/mysql
I don’t know what’s wrong. Please help me. Thanks You!