R
RunPod2mo ago
tzk

Running custom docker images (used in Serverless) to use in Pods

Hey everyone - so here is my current situation: - I have created a custom docker image for my serverless endpoint in Runpoint - My local machine is a macbook so I am unable to execute the NVIDIA dependent comfyui installation I have in the image, so trying to see if I can run this on a Runpoint pod instead - The use case is that I'm trying different workflows in ComfyUI that I want to test out in a Pod, before I deploy to the Serverless endpoint I would love to hear what my options are. TIA!
3 Replies
Encyrption
Encyrption2mo ago
You should be able to run the serverless worker on a pod by changing the START COMMAND in the template. Put in the path to the command to start Comfyui and it should run from pod.
tzk
tzk2mo ago
Oh...I didn't think about running the serverless worker itself! Thank you! So presumably, I just put the docker details in the container info and in start command, put the command <path_to_comfyui>/python3 main.py ? Sorry new to Pods and Docker, but how do I navigate the image to find the path to ComfyUI?
No description
Encyrption
Encyrption2mo ago
You can do one of the following (depending on shell that is installed on your image):
docker run -it --rm myImage /bin/sh
docker run -it --rm myImage /bin/bash
docker run -it --rm myImage /bin/sh
docker run -it --rm myImage /bin/bash
Once you have a shell inside the image you can issue the following command to find main.py
find / -name main.py 2>/dev/null
find / -name main.py 2>/dev/null
Want results from more Discord servers?
Add your server