docker / docker/docker-py

Ability to docker load a subset of images

Open
#2,502 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.