Pod stuck trying to start custom docker image
Hi all I'm having trouble using a custom template. I'm trying to use a docker image provided by this simulation project https://github.com/Genesis-Embodied-AI/Genesis/blob/main/docker/Dockerfile and I built and uploaded the image to https://hub.docker.com/repository/docker/nathankau/genesis-docker/general
However when I create a template and use it to start a pod, it seems like the pod gets stuck trying to start the container. I have no container logs and the system logs repeat the following.
Perhaps my entry point
ENTRYPOINT ["/bin/bash"]
is wrong? I can start the docker locally just fine with
Any help appreciated thanks!GitHub
Genesis/docker/Dockerfile at main · Genesis-Embodied-AI/Genesis
A generative world for general-purpose robotics & embodied AI learning. - Genesis-Embodied-AI/Genesis

Solution:Jump to solution
Yay I made it work. I unset both ENTRYPOINT and CMD in my Dockerfile so that the default nvidia_entrypoint.sh is used. Then in the runpod template UI, I set the container start command to
sleep infinity
.4 Replies
It seems my ENTRYPOINT and CMD are wrong? Could someone tell me what they should be if all I want is a shell in my container when I log in?
Solution
Yay I made it work. I unset both ENTRYPOINT and CMD in my Dockerfile so that the default nvidia_entrypoint.sh is used. Then in the runpod template UI, I set the container start command to
sleep infinity
.Hello, I’m encountering an issue where the container creation log keeps repeating the following message:
lua
Copy
2/17/2025, 8:02:00 PM
remove container
create container cogniac/nvidia-cuda:10.2-cudnn8-runtime-ubuntu16.04
10.2-cudnn8-runtime-ubuntu16...
It seems to be stuck in a loop of repeatedly removing and creating the container. Could you help me understand why this is happening and how to resolve it?
it's cause you use WORKDIR /workspace in dockerfile