In docker-compose there is a .env file which can hold all the properties of used in docker-compose.yml
Is there an equivalent of that in docker run command? I have exhausted the docs and forums but couldn't find any answers.
Here is what I am looking for: Rather than docker run -v /dir1:/dir1 -v /dir2:dir2 -p 80:80 repo/image
run docker run -config config.yml repo/image' with config.yml file holding all the property mappings