-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add bodhi-skopeo-lite - a skopeo-workalike with manifest list support
In order to support copying multi-arch containers and Flatpaks, we need to be able to copy manifest lists and OCI image indexes from registry to registry. Work is underway to add such support to skopeo (containers/image#400), but as a temporary workaround add 'bodhi-skopeo-lite', which implements the subset of 'skopeo copy' we need, but with manifest list/image index support. Use of this needs to be specifically configured. Signed-off-by: Owen W. Taylor <[email protected]>
- Loading branch information
Showing
11 changed files
with
1,600 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
================= | ||
bodhi-skopeo-lite | ||
================= | ||
|
||
Synopsis | ||
======== | ||
|
||
``bodhi-skopeo-lite`` COMMAND [OPTIONS] [ARGS]... | ||
|
||
|
||
Description | ||
=========== | ||
|
||
``bodhi-skopeo-lite`` is a very limited version of the `skopeo <https://github.com/containers/skopeo>`_ | ||
tool, but with support for manifests lists and OCI image indexes. The only command that is supported is | ||
``copy``, and the only supported image references are Docker registry references of the form | ||
``docker://docker-reference``. | ||
|
||
|
||
|
||
Options | ||
======= | ||
|
||
``--help`` | ||
|
||
Show help text and exit. | ||
|
||
|
||
Commands | ||
======== | ||
|
||
There is one command, ``copy``. | ||
|
||
``bodhi-skopeo-lite copy [options] source-image destination-image`` | ||
|
||
The ``copy`` command copies an image from one location to another. It supports | ||
the following options: | ||
|
||
``--src-creds, --screds <username>[:<password>]`` | ||
|
||
Use ``username`` and ``password`` for accessing the source registry. | ||
|
||
``-src-tls-verify <boolean>`` | ||
|
||
Require HTTPS and verify certificates when talking to the container | ||
source registry (defaults to ``true``). | ||
|
||
``--src-cert-dir <path>`` | ||
|
||
Use certificates at ``path`` (\*.crt, \*.cert, \*.key) to connect to the source registry. | ||
|
||
``-dest-creds, --dcreds <username>[:<password>]`` | ||
|
||
Use ``username`` and ``password`` for accessing the destination registry. | ||
|
||
``--dest-tls-verify <boolean>`` | ||
|
||
Require HTTPS and verify certificates when talking to the container | ||
destination registry (defaults to ``true``). | ||
|
||
``--dest-cert-dir <path>`` | ||
|
||
Use certificates at ``path`` (\*.crt, \*.cert, \*.key) to connect to the destination | ||
registry. | ||
|
||
``--help`` | ||
|
||
Show help text and exit. | ||
|
||
|
||
Help | ||
==== | ||
|
||
If you find bugs in bodhi (or in the man page), please feel free to file a bug report or a pull | ||
request:: | ||
|
||
https://github.com/fedora-infra/bodhi | ||
|
||
Bodhi's documentation is available online: https://bodhi.fedoraproject.org/docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters