Docker Community Forums

Share and learn in the Docker community.

Unable to mount folder configuration run time

Hi all,

I have built docker-compose (version :2) successfully,
My application requirement is to mount local or network folder run-time.

I am pretty new to docker.
Pls. any one guide me to solve my issue.

Do let me know if you need any other details.

pls. note that i am not able to set it at docker container build time as below.
volumes: # Persist ES data in seperate “esdata” volume
- esdata:/usr/share/elasticsearch/data/

We are setting directory configuration runtime so it could be anything.