crane-registry

local in-memory container registry

TLDR

Start a local registry
$ crane registry serve
Serve on a specific address and port
$ crane registry serve --address [localhost:5000]
Serve with on-disk blob storage
$ crane registry serve --disk [path/to/storage]

SYNOPSIS

crane registry serve [options]

DESCRIPTION

crane registry starts a local container registry for testing and development without needing a full registry deployment. By default, data is stored in memory. Use --disk to persist blobs to a directory.

PARAMETERS

--address addr

Address to listen on (default: port chosen automatically from $PORT or :0).
--disk dir
Store blobs on disk in the specified directory instead of in memory.
-h, --help
Show help for the command.

INSTALL

sudo pacman -S crane
sudo apk add crane
sudo zypper install crane
brew install crane
nix profile install nixpkgs#crane

CAVEATS

In-memory storage is lost when the server stops. The --disk option provides persistence but this is still not intended for production use. No authentication or TLS is provided.

SEE ALSO

crane(1), crane-push(1), crane-pull(1)