admin/ July 18, 2017/ Docker/ 1 comments

Docker-machine create machine on Cloud (DigitalOcean)

Docker-machine allows you to manage the docker machines (VMs) using your local system weather VMs on AWS, Digitalocean, etc.

Here, I am going to tell you how to create the docker machine on digitalocean.

Step1-: Install the docker-machine in your local system using below command.

Step 2-: Generate the digitalocean api token to access the digitalocean account using the docker-machine.

a) Login the https://cloud.digitalocean.com/login

b) Click on the “API” tab on the menu bar

c) Click on the “Generate New Token” button on the right.

Step 3-: Use the below command to create the docker-machine.

Note-: Paste the digitalocean token where the double quote without double quote and make sure the you have enabled the Port 2376 on your localsystem or Server.

Output-:

Step 4-: Setup the docker environment using below command-:

Now you have successfully created the docker-machine on the digitalocean cloud.

To check the docker machine. use docker-machine ls command.

Output-:

To connect the docker machine using docker-machine command.

Use the docker-machine name in place of docker-sandbox

1 Comment

  1. Very helpful article for those who want to know more about Amazon Digital Ocean Cloud. I want to notify you about our firm that is Support Wala offer you this service at a cheaper rate. Feel free to call us.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.