Orazur
Orazur
RRunPod
Created by Orazur on 7/20/2024 in #⛅|pods
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.
printenv
SHELL=/bin/bash
PWD=/
LOGNAME=root
MOTD_SHOWN=pam
HOME=/root
LS_COLORS=rs=0:di=01;34:ln=01;etc...
SSH_CONNECTION=xxxxx
TERM=xterm-256color
USER=root
SHLVL=1
LC_CTYPE=C.UTF-8
SSH_CLIENT= xxxxx
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
SSH_TTY=/dev/pts/0
OLDPWD=/workspace
TERM_PROGRAM=WarpTerminal
_=/usr/bin/printenv
printenv
SHELL=/bin/bash
PWD=/
LOGNAME=root
MOTD_SHOWN=pam
HOME=/root
LS_COLORS=rs=0:di=01;34:ln=01;etc...
SSH_CONNECTION=xxxxx
TERM=xterm-256color
USER=root
SHLVL=1
LC_CTYPE=C.UTF-8
SSH_CLIENT= xxxxx
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
SSH_TTY=/dev/pts/0
OLDPWD=/workspace
TERM_PROGRAM=WarpTerminal
_=/usr/bin/printenv
14 replies
RRunPod
Created by Orazur on 6/10/2024 in #⛅|pods
Fast loading of large docker image
Hello, I am trying to use a large docker image (>20GB) to start a pod. Is there a way to cache it in a network volume, and then start a pod from it, to start a pod quickly (I already sent my image in .tar on a volume, but couldn't find how to start a pod from it)? Or is there a better solution? Thank you!
5 replies