Report this

What is the reason for this report?

How can I run a Docker container on a Droplet without installing everything manually?

Posted on May 13, 2025

I have a small app I want to run in a Docker container on my Droplet. Is there a fast way to get Docker up and running without going through all the install steps manually? Ideally just want to deploy and run the container with minimal setup.



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!

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.
0

Hi there,

The easiest option is to use the Docker 1-Click App from the DigitalOcean Marketplace, it comes pre-installed and ready to use: https://marketplace.digitalocean.com/apps/docker

If you prefer to do it yourself, you can SSH into the Droplet and run the official install script:

curl -fsSL https://get.docker.com | sudo sh

Then run your container like this:

docker run -d -p 80:80 your-image-name

On another note, for a quick intro to Docker and working with containers on a Droplet, this guide might help:

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04

For a more in-depth guide, you can check out this one here: Introduction to Docker

- Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.