Issue while trying to Create and Hydrate registry
Loaded image(s): docker.io/UiPath/registry:2.8.1+ podman run --network=host --privileged -d --restart=always --name registry-tmp -v /UiPath/data/registry:/var/lib/registry/docker/registry/v2 -e REGISTRY_HTTP_ADDR=0.0.0.0:30070 registry:2.8.1WARNING: The same type, major and minor should not be used for multiple devices.WARNING: The same type, major and minor should not be used for multiple devices.WARNING: The same type, major and minor should not be used for multiple devices.WARNING: The same type, major and minor should not be used for multiple devices.WARNING: The same type, major and minor should not be used for multiple devices.f5c1f02b26dec37bffdcafe76c6039028ae4fcad6bb4cb91748928f61db8fad7+ gen_systemd_file=true+ podman generate systemd --new --files --name registry-tmp/opt/UiPathAutomationSuite/2023.10.1/installer/container-registry-tmp.service+ [[ true == \t\r\u\e ]]+ mv container-registry-tmp.service /etc/systemd/system/+ systemctl daemon-reload+ systemctl start container-registry-tmp.serviceJob for container-registry-tmp.service failed because the control process exited with error code.See systemctl status container-registry-tmp.service and journalctl -xe" for details.
Run the below commands,
- Start container
podman run --network=host --privileged -d --restart=always --name registry-tmp -v /uipath/data/registry:/var/lib/registry/docker/registry/v2 -e REGISTRY_HTTP_ADDR=0.0.0.0:30070 registry:2.8.1
- Generate container-registry-tmp.service
podman generate systemd --new --files --name registry-tmp
- Modify file content to:
[root@ocr-as2210-offline system]# vi container-registry-tmp.service
# container-registry-tmp.service
# autogenerated by Podman 4.4.1
# Wed Apr 10 07:25:57 UTC 2024
[Unit]
Description=Podman container-registry-tmp.service
Documentation=man:podman-generate-systemd(1)
Wants=network-online.target
After=network-online.target
RequiresMountsFor=%t/containers
[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=always
TimeoutStopSec=70
ExecStart=/usr/bin/podman run \
--cidfile=%t/%n.ctr-id \
--cgroups=no-conmon \
--rm \
--sdnotify=conmon \
--replace \
--network=host \
--privileged \
-d \
--name registry-tmp \
-v /uipath/data/registry:/var/lib/registry/docker/registry/v2 \
-e REGISTRY_HTTP_ADDR=0.0.0.0:30070 registry:2.8.1
ExecStop=/usr/bin/podman stop \
--ignore -t 10 \
--cidfile=%t/%n.ctr-id
ExecStopPost=/usr/bin/podman rm \
-f \
--ignore -t 10 \
--cidfile=%t/%n.ctr-id
Type=notify
NotifyAccess=all
[Install]
WantedBy=default.target
- Move file to create the service
mv container-registry-tmp.service /etc/systemd/system/
- Daemon reload
systemctl daemon-reload
- Start container-registry-tmp.service
systemctl start container-registry-tmp.service