Miceo
Explore posts from serversrunpodctl not found on pod
I wanted to run some tests. This involves a pod stopping itself after executing a task. To do this, I execute some work and then call
runpodctl stop pod $RUNPOD_POD_ID
inside the container from a bash script. This works in my actual production container, but it doesn't work in my test environment. The pod says that runpodctl can't be found (2024-06-11T13:56:58.504874269Z ./run.sh: line 11: runpodctl: not found
). Even after letting it run for a while, it can't ever find runpodctl. Any idea what I can do about this?
Here's a very minimal Dockerfile:
and the contents of run.sh:
cheers.21 replies