Skip to content
/ sreg Public

sreg is a tool for securing and managing Kubernetes image repositories.

Notifications You must be signed in to change notification settings

labring/sreg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

sreg is a tool for securing and managing Kubernetes image repositories.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages