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
Having the same issue.
This could be because I am working with a custom template?
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
This particular code only supports environment variables with a
RUNPOD_
prefix though.Makes sense, thanks!
This would be great to mention in the documentation (for noobs like me 🙂 ).