mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-01 23:18:41 +00:00
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:
committed by
Justin Cormack
parent
c07309b700
commit
91207540e4
@@ -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
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user