Docker Community Forums

Share and learn in the Docker community.

Docker environmental variable


(Mcavazza) #1

Hi everyone,

I have a question regarding how to pass the environmental variable in a way that it take environmental variables from your local path.

The whole goal is that each container run on different computer will have as environmental variables the credentials that each person have on their local computer. Is it possible?

Right now what we are doing is

docker run [IMAGE NAME] -e [CREDENTIALs]

I hope my question is clear

Michele