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.

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!
Hi,
I followed your tutorial. Have some issues with the install as certain parts didn’t want to create correctly. I love the fact that I can create docker machines from my ubuntu PC. So if I want to install WordPress for example, do I have to install docker compose? I am new to this. All the info out there is overwhelming to say the least.
docker-machine: ‘use’ is not a docker-machine command. See ‘docker-machine --help’.
I’m trying to use a diferent user, other than default which is root (for Ubuntu). I’m using --digitalocean-ssh-user=username command line option, but it seems not to be working. I think that it could be related to a cloud-config (userdata) issue… but I have no examples on setting it using docker-machine with digitalocean’s driver. Could you help me?
Hello, My question may sound stupid, but still… At step 8 there is a ‘http://machine-ip:8080’ line. Where and how do I find that machine-ip?
Thanks for this great tutorial.
I have a problem, probably of my own making. I started a docker machine on digital ocean with an API token, which I generated, but I didn’t save the token, stupidly. The DigitalOcean UI doesn’t seem to allow the displaying of this token, so I created a new one. But I can’t seem to get rid of the docker machine I created on DigitalOcean, at least as far as my local docker-machine is concerned. I think this is because I’m no longer using the token that I used to start the machine. I’ve deleted the machine via DigitalOcean’s UI, but I still get this on my machine:
Bills-New-iMac:~ bwright $ docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS consul - digitalocean Running tcp://104.236.28.74:2376 v1.13.1 docker-app-machine - digitalocean Error Unknown GET https://api.digitalocean.com/v2/droplets/40085932: 401 Unable to authenticate you. Bills-New-iMac:~ bwright $ docker-machine kill docker-app-machine Killing “docker-app-machine”… POST https://api.digitalocean.com/v2/droplets/40085932/actions: 401 Unable to authenticate you. Bills-New-iMac:~ bwright $ docker-machine rm docker-app-machine About to remove docker-app-machine WARNING: This action will delete both local reference and remote instance. Are you sure? (y/n): y Error removing host “docker-app-machine”: DELETE https://api.digitalocean.com/v2/account/keys/6462501: 401 Unable to authenticate you. Bills-New-iMac:~ bwright $ docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS consul - digitalocean Running tcp://104.236.28.74:2376 v1.13.1 docker-app-machine - digitalocean Error Unknown GET https://api.digitalocean.com/v2/droplets/40085932: 401 Unable to authenticate you. Bills-New-iMac:~ bwright $
Any thoughts on how I can clean up the mess I made?
This guide appears to be out of date. Not sure if there are any newer ones on this site, but following it and running the command:
docker-machine create --driver digitalocean --digitalocean-access-token $DOTOKEN ubuntu1604-docker
resulted in
Error creating machine: Error in driver during machine creation: POST https://api.digitalocean.com/v2/droplets: 422 You specified an invalid image for Droplet creation.
To fix it, I followed the official Docker guide on DigitalOcean usage with Ubuntu here, using the command:
curl -L https://github.com/docker/machine/releases/download/v0.10.0/docker-machine-`uname -s`-`uname -m` >/tmp/docker-machine &&
chmod +x /tmp/docker-machine &&
sudo cp /tmp/docker-machine /usr/local/bin/docker-machine
Thanks for writing this post. Does any one have any tips on resizing a machine provisioned by docker-machine? What are the steps to correctly vertical scale a droplet and making sure it will re-attach to the swarm after resizing?
Is it possible to enable private networking while creating a new host?
What is the remote machines initial firewall configuration? Can it be strengthened?