From f5b8dd2620602b426b9460e4325c51d17d3e0478 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Tue, 6 Jun 2017 17:43:46 +0200 Subject: [PATCH] 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 --- docs/gcp.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/gcp.md b/docs/gcp.md index 5020664da..4fec58637 100644 --- a/docs/gcp.md +++ b/docs/gcp.md @@ -50,9 +50,12 @@ Make sure to download the credentials in JSON format and store them somewhere sa ## 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.