Fix outdated GCP docs

The proper way to output an image for GCP is to
use `-output gcp-img`.

Fixes #1966

Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
David Gageot 2017-06-06 17:43:46 +02:00
parent b460a718cc
commit f5b8dd2620

View File

@ -50,9 +50,12 @@ Make sure to download the credentials in JSON format and store them somewhere sa
## Build an image ## Build an image
Add a `gcp-img` output line to your yaml config, see the example in [`examples/gcp.yml`](../examples/gcp.yml). When using `moby build ...` to build an image, specify `-output gcp-img` to
build an image in a format that GCP will understand. For example:
Then do `moby build myprefix.yml` ```
moby build -output gcp-img myprefix.yml
```
This will create a local `myprefix.img.tar.gz` compressed image file. This will create a local `myprefix.img.tar.gz` compressed image file.