Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save multiple images into single tar file from ImageCollection #2458

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gravypod
Copy link

@gravypod gravypod commented Nov 8, 2019

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/

@GordonTheTurtle
Copy link

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" git@github.com: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.

@gravypod gravypod force-pushed the save-multiple-images-into-single-tar-file branch from 3ecdbe3 to 6cf2afd Compare November 8, 2019 01:10
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/

Signed-off-by: Joshua Katz <gravypod@gravypod.com>
@gravypod gravypod force-pushed the save-multiple-images-into-single-tar-file branch from 6cf2afd to b931b1d Compare November 8, 2019 01:26
@gravypod
Copy link
Author

gravypod commented Nov 8, 2019

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants