SLE OCI Container Registry (Distribution) Container Image

OCI Container Registry (Distribution) container based on the SLE Base Container Image.

Get Image
Digest:
sha256:ad01165607cbd4d095809e40b2d298f41f660d194c81ddb44efc90b5453d2be8
ad0116560
Repository:
registry.suse.com/suse/registry:2.8

SLE OCI Container Registry (Distribution): Suitable for running a local OCI registry

SLSA Provenance: Available

Description

This container image allows to run a local OCI registry.

Usage

Before you start the container, you need to create a config.yml with the following content:

---
version: 0.1
log:
  level: info
storage:
  filesystem:
    rootdirectory: /var/lib/docker-registry
http:
  addr: 0.0.0.0:5000

You can also create an empty directory for storing the images outside the container:

mkdir -p /var/lib/docker-registry

Then you can start the container with the following command:

podman run -d --restart=always -p 5000:5000 -v /path/to/config.yml:/etc/registry/config.yml \
  -v /var/lib/docker-registry:/var/lib/docker-registry --name registry registry.suse.com/suse/registry:%%registry_version%%-%RELEASE%

The registry is available at http://localhost:5000. To keep the registry running after a reboot, create a systemd service as follows:

sudo podman generate systemd registry > /etc/systemd/system/registry.service
sudo systemctl enable --now registry

Licensing

SPDX-License-Identifier: Apache-2.0

This documentation and the build recipe are licensed as Apache-2.0. The container itself contains various software components under various open source licenses listed in the associated Software Bill of Materials (SBOM).

This image is based on SUSE Linux Enterprise Server, a reliable, secure, and scalable server operating system built to power mission-critical workloads in physical and virtual environments.

  • Image Data

    Last Built: 10 Dec 12:06 UTC

    Compressed Size: 45.1 MB

    Uncompressed Size: 142.2 MB

    Support Level: L3


  • Health Index
    A

    No vulnerabilities found

    Last Scan:

    1 day ago