docker-py
docker-py copied to clipboard
Save multiple images into single tar file from ImageCollection
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/
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.
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!