(docker-sandbox) OUT | Waiting for IP address to be assigned to the Droplet. (docker-sandbox) OUT | Creating Digital Ocean droplet. Run docker-machine create with the digitalocean driver and pass your key to the -digitalocean-access-token flag, along with a name for the new cloud server.įor this example, the new Droplet is called docker-sandbox: $ docker-machine create -driver digitalocean -digitalocean-access-token xxxxx docker-sandbox This is the personal access token used in the next step to create your cloud server. Grab (copy to clipboard) the generated big long hex string and store it somewhere safe. Give the token a descriptive name, make sure the Write (Optional) checkbox is checked, and click Generate Token. Go to the Digital Ocean administrator console and click API in the header.Ĭlick Generate new token to get to the token generator. If you have not done so already, go to Digital Ocean, create an account, and log in. See Docker Cloud (Edge feature) onĭocker Machine still works as described below, but Docker Cloudįollow along with this example to create a Dockerized Digital Ocean Droplet (cloud host). To get started, seeĭocker Cloud docs home page, Docker Cloud SettingsĪnd Docker ID, and Link a DigitalOcean account toĬhannel Docker for Mac or Windows, you can access your Docker Cloud account from ![]() ![]() Most up-to-date way to run Docker on your cloud providers. Digital Ocean example Estimated reading time:
0 Comments
Leave a Reply. |