About building container with Git repo
I'm not sure, can I use buildx command in 'Container start commnd'. And from chatGPT, it said it need to push image to Docker hub before using.
This is my command , is it valid ?
docker buildx create --name mybuilder --use
docker buildx build \
--builder mybuilder \
--cache-from type=local,src=./docker-cache \
--cache-to type=local,dest=./docker-cache \
--load \
-t runpod_worker_typhoon:latest .
echo "$PASSWORD" | docker login -u "$USERNAME" --password-stdin
docker tag runpod_worker_typhoon:latest bluegoatai/runpod_worker_typhoon:latest
docker push bluegoatai/runpod_worker_typhoon:latest
4 Replies
i think you shouldn't use docker inside pods
pods is a container already, and its limited, so host docker arent accessible inside the container
i'd suggest building in your pc / any cloud to build docker images
Since you're in serverless, we can build your image for you. The "Container Start Command" just has to run your handler.py.
How does runpod test container, I stuck in the testing stage after image builde .
Stuck?
Remove the
.runpod/tests.json
File