mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 09:39:08 +00:00
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:
parent
b460a718cc
commit
f5b8dd2620
@ -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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user