Docker Community Forums

Share and learn in the Docker community.

Passing volume arguments to docker compose command


(Ragrawal1807) #1

Hello,
I am looking to pass the volume as arguments from the command line to be used in docker compose file. Could someone please suggest the correct syntax for it and how could this be done.

This is what i am needing to pass to the command line:
docker-compose up --build volume-args