Choose how to install
You can install Docker Engine on any cloud platform that runs an operating system (OS) that Docker supports. This includes many flavors and versions of Linux, along with Mac and Windows.
You have two options for installing:
- Manually install on the cloud (create cloud hosts, then install Docker Engine on them)
- Use Docker Machine to provision cloud hosts
Manually install Docker Engine on a cloud host
To install on a cloud provider:
Create an account with the cloud provider, and read cloud provider documentation to understand their process for creating hosts.
Decide which OS you want to run on the cloud host.
Understand the Docker prerequisites and install process for the chosen OS. See Install Docker Engine for a list of supported systems and links to the install guides.
Create a host with a Docker supported OS, and install Docker per the instructions for that OS.
Example (AWS): Manual install on a cloud provider shows how to create an Amazon Web Services (AWS) EC2 instance, and install Docker Engine on it.
Use Docker Machine to provision cloud hosts
Docker Machine driver plugins are available for several popular cloud platforms, so you can use Machine to provision one or more Dockerized hosts on those platforms.
With Docker Machine, you can use the same interface to create cloud hosts with Docker Engine on them, each configured per the options you specify.
To do this, you use the docker-machine create
command with the driver for the cloud provider, and provider-specific flags for account verification, security credentials, and other configuration details.
Example: Use Docker Machine to provision cloud hosts walks you through the steps to set up Docker Machine and provision a Dockerized host on Digital Ocean).
Where to go next
Example: Use Docker Machine to provision cloud hosts (Digital Ocean)
For supported platforms, see Install Docker Engine.
To get started with Docker post-install, see Docker User Guide.
Please login to continue.