Update Moby tool

- rename img→raw and gcp-img→gcp
- support creating `docker` outputs, see https://github.com/moby/tool/tree/master/examples
- less memory usage via streaming outputs
- allow specification of multiple yaml files in a single command line, improves modularity
- notary fixes and local cache, so does not pull as much
- you now have to specify the full filename of the yaml file, you cannot omit the suffix

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-06-07 16:53:02 +01:00
parent 3cc6c36837
commit c8a3fd0e7a
14 changed files with 20 additions and 20 deletions

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-img` to
When using `moby build ...` to build an image, specify `-output gcp` to
build an image in a format that GCP will understand. For example:
```
moby build -output gcp-img myprefix.yml
moby build -output gcp myprefix.yml
```
This will create a local `myprefix.img.tar.gz` compressed image file.