docker-py icon indicating copy to clipboard operation
docker-py copied to clipboard

Save multiple images into single tar file from ImageCollection

Open gravypod opened this issue 6 years ago • 2 comments
trafficstars

The image collection in the Docker API allows you to save multiple images into a single bundle. This makes it easy to export and transfer multiple containers together.

This feature is documented within the swagger for the apiserver: https://github.com/moby/moby/blob/6f8c671d702197a189d162d86a3f4cccfa5a3db2/api/swagger.yaml#L7617-L7645

This feature mirrors the docker cli's docker image save command: https://docs.docker.com/engine/reference/commandline/image_save/

gravypod avatar Nov 08 '19 01:11 gravypod

Please sign your commits following these rules: https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work The easiest way to do this is to amend the last commit:

$ git clone -b "save-multiple-images-into-single-tar-file" [email protected]:gravypod/docker-py.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

GordonTheTurtle avatar Nov 08 '19 01:11 GordonTheTurtle

If there's anything that needs to be updated with this just let me know and I'll get it done ASAP. Thanks for your time!

gravypod avatar Nov 08 '19 01:11 gravypod