cmd/dist, images: allow image delete

This adds very simple deletion of images by name. We still need to
consider the approach to handling image name, so this may change. For
the time being, it allows one to delete an image entry in the metadata
database.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day
2017-03-30 17:20:16 -07:00
parent b488d4d7e2
commit cc983be17a
4 changed files with 46 additions and 0 deletions

1
cmd/dist/pull.go vendored
View File

@@ -67,6 +67,7 @@ command. As part of this process, we do the following:
ingester := contentservice.NewIngesterFromClient(contentapi.NewContentClient(conn))
provider := contentservice.NewProviderFromClient(contentapi.NewContentClient(conn))
cs, err := resolveContentStore(clicontext)
if err != nil {
return err