Help us shape the future of Go! Take the 2026 Go Developer Survey

discli

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

README

Docker registry client

Go Report Card GitHub CodeQL GitHub Release GitHub license GitHub tag

Client for managing container images on Docker registry based on go-containerregistry and crane.

Installation

  1. Get the latest release version.

    VERSION=$(curl -s "https://api.github.com/repos/shdubna/discli/releases/latest" | jq -r '.tag_name')
    

    or set a specific version:

    VERSION=vX.Y.Z   # Version number with a leading v
    
  2. Download the release.

    OS=Linux       # or Darwin, Windows
    ARCH=x86_64    # or arm64, x86_64, armv6
    curl -sL "https://github.com/shdubna/discli/releases/download/${VERSION}/discli_${OS}_${ARCH}.tar.gz" > discli.tar.gz
    
  3. Unpack it in the PATH.

    tar -zxvf discli.tar.gz -C /usr/local/bin/ discli
    
Options
      --allow-nondistributable-artifacts   Allow pushing non-distributable (foreign) layers
  -h, --help                               help for discli
      --insecure                           Allow image references to be fetched without TLS
      --platform platform                  Specifies the platform in the form os/arch[/variant][:osversion], or all for all available platforms (e.g. linux/amd64). (default linux/amd64)
  -v, --verbose                            Enable debug logs

Commands

  • discli auth - Log in or access credentials
  • discli catalog - List the repos in a registry
  • discli cleanup - Cleanup registry from outdated images
  • discli copy - Efficiently copy a remote image from src to dst while retaining the digest value
  • discli delete - Delete an image reference from its registry
  • discli ls - List the tags in a repo
  • discli pull - Pull remote images by reference and store their contents locally
  • discli push - Push local image contents to a remote registry
  • discli version - Print the version

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL