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

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

New to DO, I try to deploy a dev app with Wagtail(django) and Docker-Compose.
I work on windows 10. Also, I can run DOCTL commands from PowerShell.
Mainly I struggle to find a workflow to link my application to DO.
I tried to follow tutorials django-docker which After: set DIGITAL_OCEAN_ACCESS_TOKEN=[your_digital_ocean_token]
Propose to create a new Droplet with Docker pre-installed … but with a code:
curl -X POST \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer '$DIGITAL_OCEAN_ACCESS_TOKEN'' \ -d '{"name":"django-docker","region":"sfo3","size":"s-2vcpu-4gb","image":"docker-20-04"}' \ "https://api.digitalocean.com/v2/droplets"
This code is rather confusing for me, as when I access docker-pre-installed I can only create droplets, preferably by selecting Docker from Marketplace or with Ubunto18. I don’t note any shell and the console option appears only after the droplet was already created.
Also confusing is how to run the curl command. I didn’t find it in the DOCTL commands.
Since, I didn’t manage, I tried to jump over this phase by simply setting SSL and create a droplet with docker settings. Which worked just fine.
Next I run:
cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys
cat ~/.ssh/id_rsa
I closed and opened a new shell to run:
set PRIVATE_KEY='....'
Next I run: .
ssh-add - <<< "${PRIVATE_KEY}"
and got ``` “Missing file specification after redirection operator. At line:1 char:11”
The above is the last code line before I can upload source code and create an image.
Any tip on how I should proceed would be highly appreciated.
lwmeozrcbh
d1dd3d9538cc4d06b53e6d1d338d3f
50ff4e4b3c6c4999a12403b1ecda95
a6309a057c3f4cb38fb2e7feb67236
72e571841e7f4a6881090a2f3e93c0
7ce6bf277bff4d429ba493dd750e35
57a72a98162f46a5a5cd04d9b
Thomas Brocken
11575c6d695643cdb40ad47d0f1aea
tez.saad