DirectorySecurity advisories
Sign in

Directory

zot logo

zot

Last changed
Get started with latest for free
docker pull cgr.dev/chainguard/zot

Need access to a specific version? Contact us.

Sign in for updates

Get notified of upcoming product changes, critical vulnerability notifications and patches and more.

Sign in
Versions
Overview
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Minimal image with zot binary.

Download this Image

The image is available on cgr.dev:

docker pull cgr.dev/chainguard/zot:latest

Usage

Create a zot config file:

cat <<EOF > zot-config.yaml
distspecversion: 1.1.0-dev
http:
  address: 0.0.0.0
  port: 5000
storage:
  rootdirectory: /var/lib/zot/data
EOF

Create a fresh data directory (this will store all OCI blobs as OCI Image Layout):

rm -rf data && mkdir data && chmod go+wrx data

Run the server:

docker run --rm -p 5000:5000 \
  -v "${PWD}/zot-config.yaml":/zot-config.yaml \
  -v "${PWD}/data":/var/lib/zot/data \
  cgr.dev/chainguard/zot:latest \
  serve /zot-config.yaml

Then in another terminal, try pushing an image with crane:

crane cp \
  cgr.dev/chainguard/bash:latest \
  localhost:5000/demo:latest

Then try pulling and running the image:

docker run --rm \
  localhost:5000/demo:latest \
  -c 'echo hello world'
Licenses

Chainguard Images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" version of this image:

  • Apache-2.0

  • LGPL-2.1-or-later

  • MIT

  • MPL-2.0

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Category
application
kubernetes

Products

Chainguard Images

© 2024 Chainguard, Inc.