How do I diagnose problems with dokku deploys on docker/Digital Ocean?

Posted September 22, 2013 4.3k views
I'm new to Docker and dokku, and DigitalOcean, and just trying to figure out how all the pieces fit together. I'm deploying my app with git. When I deploy, it seems to succeed from my end, but when I log in and look for the running process with docker ps, I don't see any. A little investigation shows it tried to do something... # docker ps -a ID IMAGE COMMAND CREATED STATUS PORTS e69021b44e45 app/foo:latest /bin/bash -c /start 12 minutes ago Exit 0 Trying to launch manually: # docker run e69021b44e45 node app.js Unable to find image 'e69021b44e45' (tag: latest) locally Pulling repository e69021b44e45 2013/09/21 04:12:02 Internal server error: 404 trying to fetch remote history for e69021b44e45 Like I mentioned, I'm new to all this, so let me know what I'm doing wrong, please. =)

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer
# docker run e69021b44e45 node app.js
e69021b44e45 is the docker instance ID. app/foo:latest is the image name.

It says Exit 0 which means that your app exited.

Please pastebin your app.js file.