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 in Docker by Sam
• 1,070 points
35 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 by Sirajul
• 5,960 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,100 points

edited Oct 16, 2018 by lina 3,225 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
• 37,320 points
33 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
• 37,320 points
32 views
0 votes
1 answer
0 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
• 56,160 points
99 views
0 votes
1 answer