environment variable not accessible from true ssh ?

I see it when using fake ssh but not using the true ssh. I am not sure how to setup this.
4 Replies
TomS
TomS5mo ago
Having the same issue. This could be because I am working with a custom template?
ashleyk
ashleyk5mo ago
You need to export your environment variables to make them accessible, like this: https://github.com/runpod/containers/blob/main/container-template/start.sh#L67
GitHub
containers/container-template/start.sh at main · runpod/containers
🐳 | Dockerfiles for the RunPod container images used for our official templates. - runpod/containers
ashleyk
ashleyk5mo ago
This particular code only supports environment variables with a RUNPOD_ prefix though.
TomS
TomS5mo ago
Makes sense, thanks! This would be great to mention in the documentation (for noobs like me 🙂 ).