Docker containers for Drupal environment not linked
问题 I'm learning Docker and experimenting by installing Drupal. The process is to create 2 containers with one running Apache and the other running MySQL. I have the following docker-compose.yml file: version: '3' services: d8: container_name: d8 image: drupal build: . ports: - "8585:80" links: - d8mysql:mysql d8mysql: container_name: d8mysql image: mysql restart: always environment: MYSQL_ROOT_PASSWORD: password MYSQL_PASSWORD: password MYSQL_DATABASE: drupal MYSQL_USER: user ports: - "3306:3306