Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:defolos:BCI:Staging:SLE-15-SP5:sle15-sp5-wAEpg
distribution-image
README.md
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File README.md of Package distribution-image
# The SLE BCI Distribution Image This container image allows to run a local OCI registry. Before you start the container, you need to create a `config.yml` with the following content: ```yaml --- 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: ```bash mkdir -p /var/lib/docker-registry ``` Then you can start the container with the following command: ```bash podman run -d --restart=always -p 5000:5000 -v /path/to/config.yml:/etc/docker/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: ```bash sudo podman generate systemd registry > /etc/systemd/system/registry.service sudo systemctl enable --now registry ``` ## License SPDX-License-Identifier: Apache-2.0 This image is based on [SLE BCI](https://opensource.suse.com/bci/), a stable and redistributable foundation for software innovation. SLE BCI is enterprise-ready, and it comes with an option for support. See the [SLE BCI EULA](https://www.suse.com/licensing/eula/#bci) for further information.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor