-1

Is it possible to link the directory from the project where the docker-compose file is located? I want to link the folder where the input data for the program to work in the container and also the output data that another program can read

  • Did you read [this](https://stackoverflow.com/questions/44284484/docker-compose-share-named-volume-between-multiple-containers) – Aak Feb 28 '21 at 15:02

1 Answers1

0

You need to create the volume in the host. Map that volume from your container to that volume and do the same from other container to share the files.

Amit
  • 633
  • 6
  • 13