Vladsimko
Vladsimko
RRunPod
Created by Vladsimko on 1/26/2024 in #⛅|pods
can’t run my own init script
Hi guys, after couple hours I give up and asking for help I use standard runpod/pytorch image my initial script is working in digital ocean test instances. I put this string to docker start override settings bash -c 'apt update && apt install -y wget && wget -O init-script.sh http://path.txt && chmod +x init-script.sh && ./init-script.sh' Downloaded script is following echo "-----BEGIN RSA PRIVATE KEY---.... " > /root/.ssh/githubkey chmod 600 /root/.ssh/githubkey apt install screen eval "$(ssh-agent -s)" ssh-add /root/.ssh/githubkey GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git clone [email protected]:momentum100/runpod-trainer-deploy.git /root/runpod-trainer-deploy cd /root/runpod-trainer-deploy chmod +x start.sh screen -L -S deploy -dm bash -c './start.sh' Pod is cloning repository and then something fails and it restarts script again and again. I only can look for logs in web ui. SSH also not working. Please advice. Ps in my repository is dataset and 2 scripts to download model and start training. Also idea is to run a screen for monitoring
13 replies