LinuxCommandLibrary

gcrane-help

Display gcrane command-line help information

TLDR

Display help for a subcommand

$ gcrane help [command]
copy

Display help
$ gcrane help [[-h|--help]]
copy

SYNOPSIS

gcrane-help [subcommand]

PARAMETERS

subcommand
    Specific command to show detailed help for (e.g., ls, cp)

--auth-config string
    Path to Docker config.json ($DOCKER_CONFIG or $HOME/.docker)

--insecure
    Skip TLS verification for registries

--log-http
    Enable logging of all HTTP requests/responses

--platform string
    Restrict to platform like linux/amd64 ($PLATFORM)

--help, -h
    Display help message

DESCRIPTION

gcrane-help outputs comprehensive usage information for the gcrane CLI, a lightweight tool for interacting with Google Container Registry (GCR) and OCI-compatible registries. It lists the command synopsis, available subcommands (e.g., ls, cp, pull, push), global flags, and exit codes.

Without arguments, it shows general help. With a subcommand, like gcrane-help ls, it details that subcommand's syntax, options, and examples. gcrane supports tasks like listing repositories, copying images across registries, inspecting manifests/layers, tagging, digest computation, and auth management via Docker config.

Ideal for developers and ops teams automating container workflows. It handles multi-platform images and insecure connections for local testing. Note: Inherits Docker auth for seamless GCR access.

CAVEATS

gcrane is unmaintained; migrate to crane. Install requires Go; no package managers.

COMMON SUBCOMMANDS

ls: List images.
cp: Copy image.
pull/push: Fetch/send images.
digest: Compute image digest.

INSTALLATION

go install github.com/GoogleCloudPlatform/gcrane@latest
Requires $GOPATH/bin in PATH and Go 1.16+.

HISTORY

Developed by Google Cloud Platform ~2018. Archived post-2021; superseded by universal crane tool from GoogleContainerTools.

SEE ALSO

crane(1), docker(1), podman(1), gcloud(1)

Copied to clipboard