Environment variables missing
Hello,
I am creating a pod with environment variables, but it doesn't seem to work. When I connect via SSH, and echo $ENV_VAR_NAME it prints nothing.
Am I missing something?
Also, printenv doesn't show the default environment variables from runpod, nor my added environment vars.
I am using my own template, but the Docker image is build on top of an official runpod image.
I am creating a pod with environment variables, but it doesn't seem to work. When I connect via SSH, and echo $ENV_VAR_NAME it prints nothing.
Am I missing something?
Also, printenv doesn't show the default environment variables from runpod, nor my added environment vars.
I am using my own template, but the Docker image is build on top of an official runpod image.
Solution
Its docker yeah, environment in linux is per user i guess, so when you login using ssh, your env's wont be there because the docker container starts your application as a different user
