Setting up a Docker host on Digital Ocean

Digital Ocean is a minimalist cloud computing provider. Their virtual machines are cheap, fast, and take under a minute to spin up.

For this guide, you’ll need a Digital Ocean account. If you don’t have one yet, you can use my referral link and get $10 of credit.

Next, create an Ubuntu droplet by following the Digital Ocean tutorial.

Once your droplet is ready, SSH to it from a new terminal window and run the following command to install docker:

wget -qO- | sh

Once Docker is installed, create a test nginx container like so:

sudo docker run -d -p 80:80 nginx

Back in the Digital Ocean web console, note the IP address of your droplet, and enter it into your browser. Bask in the glory of your achievement.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.