How to install and run docker on digitalocean dorplet?

I am new to digitalocean, And this is my first deployment to it, So I miss some information to make this deployment done.

I have created the digitalocean account, then created a droplet with ubuntu os, then generated a ssh token and uploaded an application which using node.js, prisma, mongodb and docker using sftp.

What I have to do next? Installing docker and docker-compose manually? Or I have to delete the droplet and build a new one using my docker-machine on my local machine? Or what ?.

Show comments

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.


You don’t have to delete the droplet, you can just SSH to your existing droplet and follow the steps here on how to install Docker:

Hope that this helps! Bobby