Categorygithub.com/labring/sreg
modulepackage
0.1.7-rc1
Repository: https://github.com/labring/sreg.git
Documentation: pkg.go.dev

# README

sreg - Sealos Registry Tool

sreg is a tool focused on managing Sealos registry. Its goal is to provide a solution that doesn't rely on buildah, allowing for more flexible image management and support for Sealos deployments.

Installation

You can install sreg by following these steps:

  1. Download the latest version of the sreg release package for your operating system: sreg

  2. Extract the downloaded release package:

    tar -xzf sreg_0.1.1_linux_amd64.tar.gz
    
  3. Move the extracted executable to your PATH for global access:

    sudo mv sreg /usr/local/bin/
    

Usage

Save an Image to a Local File

sreg save --registry-dir=/tmp/registry1 my-context

Start a Filesystem Image Repository Service

sreg serve filesystem --port=5000

Start an In-Memory Image Repository Service

sreg serve inmem --port=5000

Sync an Image to a Different Repository

sreg sync source-image dst

Copy an Image to a Different Repository

sreg copy source-image dst

Building Your Own Version

If you wish to build your own version of sreg, you can use goreleaser for building. Use the following command to build:

goreleaser build --snapshot --timeout=1h --rm-dist

Why Choose sreg?

sreg's development aims to meet the need for image repository management in Sealos deployments without relying on buildah. It offers a more flexible and secure image management approach. Whether you require stricter image security or more controlled image distribution, sreg is an ideal choice.

# Packages

No description provided by the author
No description provided by the author