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
TomS12mo ago
Having the same issue. This could be because I am working with a custom template?
ashleyk
ashleyk12mo 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
ashleyk12mo ago
This particular code only supports environment variables with a RUNPOD_ prefix though.
TomS
TomS12mo ago
Makes sense, thanks! This would be great to mention in the documentation (for noobs like me 🙂 ).
Want results from more Discord servers?
Add your server