Description Usage Arguments Details
Defaults are pretty sensible. You must provide only the following:
name. Name of the docker machine.
cores. Number of cores. Defaults to 2.
vpc_id. The id of your VPC.
set options(dokk.AWS_ACCESS_KEY_ID) to your AWS access key.
set options(dokk.AWS_SECRET_KEY) to your AWS secret.
1 2 3 |
name |
character. Required. The name of the machine. |
vpc_id |
character. Required. The VPC id. Get it from AWS console. |
cores |
integer. Number of cores. More cores = more expensive! |
ami |
character. AMI to use. Don't touch if you don't know what you are doing. If you do, then see https://docs.docker.com/machine/#drivers for more details. |
root_size |
integer. The root disk size of the instance (in GB). Default: 16 |
security_group |
character. AWS VPC security group name. Default: docker-machine |
zone |
character. The AWS zone launch the instance in (i.e. one of a,b,c,d,e). Default: a |
iam |
character. IAM role for the instance. |
region |
character. EC2 region. Default is us-east-1. |
session_token |
character. Your session token for the Amazon Web Services API. |
subnet_id |
character. AWS VPC subnet id. |
Note that this can be expensive, so make sure you clean up after yourself!
Creates an EC2 instance for you.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.