2 ms·
Does Docker really not allow you to set environment variables? That would be a rather strange design choice, if true. And I always took the config requirement o
by vinceguidry 13y ago
Does Docker really not allow you to set environment variables? That would be a rather strange design choice, if true. And I always took the config requirement of 12factor to mean you keep it out of source control. Store it wherever you want, be it Chef, Capistrano, or just a shell script you use to deploy, but keep it out of your code.
- nickstinemates 13y agoDocker absolutely let's yiubset and read environment variables either via docker run or via the Docker file with the ENV directive.
- shykes 13y agoDocker does support setting arbitrary environment variables.