Question

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

  • Posted on September 22, 2013
  • dilvieAsked by dilvie

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. =)


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

<strong># docker run e69021b44e45 node app.js </strong> <br>e69021b44e45 is the docker instance ID. app/foo:latest is the image name. <br> <br>It says <strong>Exit 0</strong> which means that your app exited. <br> <br>Please pastebin your app.js file.