containers / containers/containerimage-py

Develop capability to copy images to and from a directory on the filesystem

Open
#44 0 comments 0 reactions 1 assignee Claimed by @whatsacomputertho View on GitHub
v1.1.0
Dominant language
Python
Stars
8
Forks
2
PR merge metrics
No merged PRs in 30d

Description

## Overview

We are working on the ability to copy images between two registries while maintaining digest integrity
- https://github.com/containers/containerimage-py/issues/12

That effectively would serve as a python-native implementation of
```bash
# Copy from registry to registry
skopeo copy docker://$SRC_IMAGE docker://$DEST_IMAGE
```

This issue will focus on a similar capability, this time a python-native implementation of
```bash
# Copy from registry to directory
skopeo copy docker://$SRC_IMAGE dir:$DEST_DIR

# Copy from directory to registry
skopeo copy dir:$SRC_DIR docker://$DEST_IMAGE
```

## Acceptance

- [ ] It is possible to copy an image from a registry to a directory using `containerimage-py`
- [ ] It is possibly to copy an image from a directory to a registry using `containerimage-py`
- [ ] The usage of these new capabilities are documented
- [ ] Example scripts are written for these new capabilities
- [ ] There is unit test coverage for these new capabilities

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.