run: Add gcp backend

This commit implements `moby run gcp` which allows for testing of moby
images on the Google Cloud Platform

This backend attaches (via SSH) to the serial console.
It generates instance-only SSH keys and adds the public key to the
image metadata. These are used by the `moby` tool only.

It will also automatically upload a file and creates an image if the prefix
given to `moby run` is a filename

Signed-off-by: Dave Tucker <dt@docker.com>
This commit is contained in:
Dave Tucker
2017-04-05 01:12:38 +01:00
parent d5a8e23cdd
commit db10280f5f
5 changed files with 380 additions and 21 deletions

View File

@@ -30,3 +30,4 @@ outputs:
- format: kernel+initrd
- format: iso-bios
- format: iso-efi
- format: gce-img