R
RunPod3mo ago
hero

I can't run the pod with container start command

bash -c "cd /workspace/ && sh run.sh" I tried with this start command, but it does not work, it seems that it run repeatedly but after I connect to pod and run "cd /workspace && sh run.sh", it work well here is run.sh https://prnt.sc/Zyu9MgMotzS2 what is wrong? please help me 🥺
Lightshot
Screenshot
Captured with Lightshot
10 Replies
Madiator2011
Madiator20113mo ago
@hero it's cause you probably mount volume storage and on secure cloud it have higher priority and it basically ignores files from docker image
hero
hero3mo ago
thanks for your help. so how can I update the pod?
Madiator2011
Madiator20113mo ago
bake files to external place and have script that sync files back to /workspace on start
hero
hero3mo ago
all files are stored in workspace folder
Madiator2011
Madiator20113mo ago
you want to move them outside of that folder can then on start script copy them into /workspace
Madiator2011
Madiator20113mo ago
GitHub
GitHub - runpod/containers: 🐳 | Dockerfiles for the RunPod contain...
🐳 | Dockerfiles for the RunPod container images used for our official templates. - runpod/containers
hero
hero3mo ago
hello my issue is that the start command run repeatedly after start command run once, the pod restart, I thinks I don;t know why it work so what do you think for it?
hero
hero3mo ago
Lightshot
Screenshot
Captured with Lightshot
hero
hero3mo ago
as you can see, after start command done, the runpod restart please help me
Madiator2011
Madiator20113mo ago
yes if pd crashes it restars use runpodctl to stop pod after you work is done
Want results from more Discord servers?
Add your server