Davi Araújo:
hello guys, i have a specific question about docker, i don’t know if this is a correct channel, but i developed a simple python script that get env variables with os library via os.getenviron and built a custom container (python) from it, but when i pass the env variables via docker run -e … it’s like the program doesn’t recognize the env var, someone can tell me why it happens ?
Vikas Adhav:
Run container locally and connect to shell to echo $your_env to see if env is correctly set. you can connect shell by docker run -it your_image -e env=env_value