I am passing two volumes at run time thusly:
docker run -it -v ~/repos:/repos -v ~/dir1:/dir1
I have an entrypoint in my dockerfile which calls a shell script. How can I pass my volume names as arguments to this shell script at runtime? Or perhaps there is a more elegant way to do this (I was trying to avoid config files). Thanks for you help in advance!