Is it possible to spin-up a docker host on a cloud platform

0 votes
I want to provision a docker host on a cloud platform (Digital Ocean). What is the process involved?
Jul 4, 2019 in Docker by Sam
• 6,260 points
786 views

1 answer to this question.

0 votes

Yes, It is definitely possible to spin up cloud docker hosts.This can be done using Docker machine driver plugins which are made available for a variety of cloud computing environments. When you use Docker Machine for this purpose, you are actually creating cloud hosts with Docker Engine installed on them.

You need to Install and run Docker Machine, and create an account with the cloud provider, in your case Digital Ocean account.

Next step is to generate a personal access token

After this you can run the following command to create a droplet (cloud-host) named as docker-sandbox

$ docker-machine create --driver digitalocean --digitalocean-access-token xxxxx docker-sandbox

You could provision cloud hosts for a variety of other cloud platforms like AWS etc.

For a detailed understanding you could refer to:

https://docs.docker.com/machine/examples/ocean/

answered Jul 4, 2019 by Sirajul
• 59,230 points

Related Questions In Docker

0 votes
1 answer
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

answered Oct 16, 2018 in Docker by lina
• 8,220 points

edited Oct 16, 2018 by lina 34,143 views
0 votes
1 answer

Is it possible to start a shell session in a running container (without ssh)

use this docker exec -it "id of running ...READ MORE

answered Jul 25, 2018 in Docker by Kalgi
• 52,350 points
901 views
0 votes
1 answer

Is it possible to start a shell session in a running container (without ssh)

use this docker exec -it "id of running ...READ MORE

answered Jul 27, 2018 in Docker by Kalgi
• 52,350 points
776 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,720 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP