Ability to docker load a subset of images
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 13d 8h
- Merged PRs (30d)
- 2
Description
Hi,
This is not a bug report but more of a query / feature request. I have a need to take in some large tarballs containing many docker images that were previously saved with docker save, and to then as quickly as possible, do a docker load on those, retag them with a remote registry hostname and push them to that remote registry.
This all works fine but because of the time it takes, I am looking for a way to optimize this. In cases where the remote registry already has most / even all of the images in question for example, I have not found a way to optimize for this. Ideally I was hoping there was an ability for me to docker load a specific list of image tags that I know I need, and not have to read / process the others.
Is this possible with the docker engine api / docker python library in any way? Would anyone be able to share how this might be achieved?
Regards,
Mark
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file or test is named. Start by reviewing docker-py’s Docker Engine API image-load entry point and the request for selecting tags from docker save tarballs; done would be a decided, documented approach or a scoped implementation with coverage for subset loading.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100