Question from the Docker compose test

Mount a directory from the host to a container in Docker

Easy

In a docker-compose.yml, what does the following volumes field do?

volumes:
  - ./data:/var/data
Author: AxelStatus: PublishedQuestion passed 18 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!