Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package distribution-image for openSUSE:Factory checked in at 2026-05-18 17:49:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/distribution-image (Old) and /work/SRC/openSUSE:Factory/.distribution-image.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "distribution-image" Mon May 18 17:49:04 2026 rev:47 rq:1353812 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/distribution-image/distribution-image.changes 2026-05-05 15:17:37.320695282 +0200 +++ /work/SRC/openSUSE:Factory/.distribution-image.new.1966/distribution-image.changes 2026-05-18 17:50:12.569739137 +0200 @@ -1,0 +2,5 @@ +Mon May 18 10:51:37 UTC 2026 - SUSE Update Bot <[email protected]> + +- update README + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ README.md ++++++ --- /var/tmp/diff_new_pack.IxPuuR/_old 2026-05-18 17:50:15.145845587 +0200 +++ /var/tmp/diff_new_pack.IxPuuR/_new 2026-05-18 17:50:15.181847075 +0200 @@ -30,14 +30,41 @@ 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/registry/config.yml \ +podman run -it --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.opensuse.org/opensuse/registry:3.1 ``` -The registry is available at `http://localhost:5000`. To keep the registry running after a reboot, create a systemd service as follows: +The registry is available at `http://localhost:5000`. + +To run the registry as a Systemd service using Podman Quadlet, create a unit file named `/etc/containers/systemd/registry.container` with the following content (update variables accordingly): + +``` +[Unit] +Description=openSUSE Tumbleweed OCI Container Registry (Distribution) + +[Container] +Image=registry.opensuse.org/opensuse/registry:3.1 +ContainerName=registry +PublishPort=5000:5000 +Volume=/path/to/config.yml:/etc/registry/config.yml:Z +Volume=/var/lib/docker-registry:/var/lib/docker-registry:Z + +[Service] +Restart=always + +[Install] +WantedBy=multi-user.target +``` + +To generate a systemd service for the registry container, execute the following command: + +```bash +sudo systemctl daemon-reload +``` + +To enable and start the registry service, execute the following command: ```bash -sudo podman generate systemd registry > /etc/systemd/system/registry.service sudo systemctl enable --now registry ```
