moby--moby/graph
Vincent Batts e64131d1bf docker save: ability to save multiple images
Now from a single invocation of `docker save`, you can specify multiple
images to include in the output tar, or even just multiple tags of a
particular image/repo.

```
> docker save -o bundle.tar busybox ubuntu:lucid ubuntu:saucy fedora:latest
> tar tf ./bundle.tar | wc -l
42
> tar xOf ./bundle.tar repositories
{"busybox":{"latest":"2d8e5b282c81244037eb15b2068e1c46319c1a42b80493acb128da24b2090739"},"fedora":{"latest":"58394af373423902a1b97f209a31e3777932d9321ef10e64feaaa7b4df609cf9"},"ubuntu":{"lucid":"9cc9ea5ea540116b89e41898dd30858107c1175260fb7ff50322b34704092232","saucy":"9f676bd305a43a931a8d98b13e5840ffbebcd908370765373315926024c7c35e"}}
```

Further, this fixes the bug where the `repositories` file is not created
when saving a specific tag of an image (e.g. ubuntu:latest)

document multi-image save and updated API docs

Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
2014-08-28 20:22:33 -04:00
..
MAINTAINERS Add maintainers to daemon/ and graph/ 2014-08-06 10:29:15 +00:00
export.go docker save: ability to save multiple images 2014-08-28 20:22:33 -04:00
graph.go graph: remove obsolete comments 2014-08-29 00:22:26 +09:00
history.go Move "image_history" to graph/history.go 2014-08-06 17:18:50 -04:00
import.go Move "import" to graph/import.go 2014-08-06 17:18:50 -04:00
list.go Move "images" to graph/list.go 2014-08-06 17:18:50 -04:00
load.go graph: change argument order of Register function 2014-08-28 20:06:07 +09:00
pools_test.go Move "pull" and "push" to graph/pull.go and graph/push.go 2014-08-08 07:25:09 +00:00
pull.go graph: change argument order of Register function 2014-08-28 20:06:07 +09:00
push.go another commit to do like @crosbymichael 2014-08-14 01:36:26 +00:00
service.go graph: change argument order of Register function 2014-08-28 20:06:07 +09:00
tag.go Move "image_tag" and "tag" to graph/tag.go 2014-08-06 17:18:51 -04:00
tags.go docker save: ability to save multiple images 2014-08-28 20:22:33 -04:00
tags_unit_test.go graph: change argument order of Register function 2014-08-28 20:06:07 +09:00
viz.go Move "viz" to graph/viz.go 2014-08-06 17:18:50 -04:00