Change "output" to "format" in moby tool

This is less confusing as there is also an output option to set the file.

See https://github.com/moby/tool/pull/146

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-09-01 15:55:53 +01:00
committed by Justin Cormack
parent c07309b700
commit 91207540e4
245 changed files with 253 additions and 253 deletions

View File

@@ -22,7 +22,7 @@ export AWS_REGION=eu-west-1
AWS requires a `RAW` image. To create one:
```
$ moby build -output raw examples/aws.yml
$ moby build -format raw examples/aws.yml
```
## Push image

View File

@@ -23,7 +23,7 @@ here](https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-gro
## Build an image
Create a new `azure.yml` file [based on the Azure example](../examples/azure.yml), generate a new SSH key and add it in the `yml`, then `moby build -output vhd azure.yml`.
Create a new `azure.yml` file [based on the Azure example](../examples/azure.yml), generate a new SSH key and add it in the `yml`, then `moby build -format vhd azure.yml`.
This will output a `azure.vhd` image.

View File

@@ -50,11 +50,11 @@ Make sure to download the credentials in JSON format and store them somewhere sa
## Build an image
When using `moby build ...` to build an image, specify `-output gcp` to
When using `moby build ...` to build an image, specify `-format gcp` to
build an image in a format that GCP will understand. For example:
```
moby build -output gcp myprefix.yml
moby build -format gcp myprefix.yml
```
This will create a local `myprefix.img.tar.gz` compressed image file.