Update aws platform docs

- Replace img with raw for moby -output

Signed-off-by: Jes Ferrier <jes.ferrier@gmail.com>
This commit is contained in:
Jes Ferrier 2017-06-12 12:47:16 +01:00 committed by Jes Ferrier
parent 33092fa111
commit e3ce70c35f

View File

@ -22,12 +22,12 @@ export AWS_REGION=eu-west-1
AWS requires a `RAW` image. To create one: AWS requires a `RAW` image. To create one:
``` ```
$ moby build -output img examples/aws.yml $ moby build -output raw examples/aws.yml
``` ```
## Push image ## Push image
Do `linuxkit push aws -bucket bucketname aws.img` to upload it to the Do `linuxkit push aws -bucket bucketname aws.raw` to upload it to the
specified bucket, and create a bootable image from the stored image. specified bucket, and create a bootable image from the stored image.
Alternatively, you can use the `AWS_BUCKET` environment variable to specify the bucket name. Alternatively, you can use the `AWS_BUCKET` environment variable to specify the bucket name.
@ -35,7 +35,7 @@ Alternatively, you can use the `AWS_BUCKET` environment variable to specify the
**Note:** If the push times out before it finishes, you can use the `-timeout` flag to extend the timeout. **Note:** If the push times out before it finishes, you can use the `-timeout` flag to extend the timeout.
``` ```
linuxkit push aws -bucket bucketname -timeout 1200 aws.img linuxkit push aws -bucket bucketname -timeout 1200 aws.raw
``` ```
## Create an instance and connect to it ## Create an instance and connect to it