Marvin
Marvin
RRunPod
Created by Marvin on 1/26/2025 in #⛅|pods
Pod overwrites my project code in "Volume Mount Path"
I run my container on pod where all my code lives in "/workspace/project/". When I set "Volume Mount Path" in my pod template to be "/workspace/project/" it overwrites my project code completely. It seems that volume mount happens after container is up and running, which removes everything in my project folder. Is there a workaround for this? (I'm not using a network volume btw)
12 replies
RRunPod
Created by Marvin on 1/22/2025 in #⛅|pods
Container Registry Auth not working for private docker images
Hi guys, I created a key from dockerhub and added it to runpod settings "Container Registry Auth". I - chose a random credential name, - used my dockerhub username as the username of the credential, - and used the generated key as the password. But whenever i try to start a pod with the template, it says credentials not correct. Is there anything that i did wrong? (I did choose the created credential in template)
15 replies
RRunPod
Created by Marvin on 12/19/2024 in #⛅|pods
Unable to create pod with GraphQL
Hi I tried to use following command to create a pod to test.
curl --request POST \
--url https://api.runpod.io/graphql \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{"query":"mutation { podFindAndDeployOnDemand(input: { cloudType: SECURE gpuCount: 1 gpuTypeId: \"NVIDIA A40\" name: \"A40 Pod\" imageName: \"runpod/pytorch\" containerDiskInGb: 40 volumeInGb: 40 }) { id imageName machineId } }"}'
curl --request POST \
--url https://api.runpod.io/graphql \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{"query":"mutation { podFindAndDeployOnDemand(input: { cloudType: SECURE gpuCount: 1 gpuTypeId: \"NVIDIA A40\" name: \"A40 Pod\" imageName: \"runpod/pytorch\" containerDiskInGb: 40 volumeInGb: 40 }) { id imageName machineId } }"}'
My API_key is with right permissions. I got 500: Internal Server Error. Anyone know why this happens?
4 replies