Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shizhmsft/docker-saveoci
A docker plugin to save one or more images to a tar archive in the OCI layout
https://github.com/shizhmsft/docker-saveoci
Last synced: 15 days ago
JSON representation
A docker plugin to save one or more images to a tar archive in the OCI layout
- Host: GitHub
- URL: https://github.com/shizhmsft/docker-saveoci
- Owner: shizhMSFT
- License: apache-2.0
- Created: 2023-05-04T05:38:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-18T06:45:10.000Z (about 1 year ago)
- Last Synced: 2024-06-21T18:00:58.674Z (5 months ago)
- Language: Go
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-saveoci
A docker plugin to save one or more images to a tar archive in the OCI layout## Install
Run the following command to install on Linux
```bash
mkdir ~/.docker/cli-plugins
curl -L https://github.com/shizhMSFT/docker-saveoci/releases/download/v0.1.0/docker-saveoci_0.1.0_linux_amd64.tar.gz | tar xvzC ~/.docker/cli-plugins/ docker-saveoci
```Help information can be reviewed by
```bash
docker help
```## Save Images to an OCI-layout tarbal
The usage is exactly the same as `docker save`. Try
```bash
docker pull hello-world
docker saveoci -o hello.tar hello-world# After saving, you may use other tools to process further.
oras manifest fetch --oci-layout hello.tar:latest
```