Container registry docker still restarting

Hi dears,
need your help please, my registry docker container is still restaring.
it come up and go down.

status

[root@ordcpi1fralcache ~]# docker ps && date
CONTAINER ID   IMAGE                                 COMMAND                  CREATED         STATUS                  PORTS                              NAMES
8a168a1d56c4   joxit/docker-registry-ui:1.5-static   "/docker-entrypoint.…"   17 months ago   Up 31 minutes           0.0.0.0:80->80/tcp                 webregistry
6f700991715f   registry:2                            "/entrypoint.sh /etc…"   17 months ago   Up Less than a second   5000/tcp, 0.0.0.0:8443->8443/tcp   registry
Fri Mar 15 09:08:09 WAT 2024
[root@ordcpi1fralcache ~]# docker ps && date
CONTAINER ID   IMAGE                                 COMMAND                  CREATED         STATUS                                  PORTS                NAMES
8a168a1d56c4   joxit/docker-registry-ui:1.5-static   "/docker-entrypoint.…"   17 months ago   Up 31 minutes                           0.0.0.0:80->80/tcp   webregistry
6f700991715f   registry:2                            "/entrypoint.sh /etc…"   17 months ago   Restarting (1) Less than a second ago                        registry

logs :

time="2024-03-15T08:04:25.757920072Z" level=fatal msg="open /certs/registry.crt: no such file or directory"
time="2024-03-15T08:05:26.26160482Z" level=warning msg="No HTTP secret provided - generated random secret. This may cause problems with uploads if multiple registries are behind a load-balancer. To provide a shared secret, fill in http.secret in the configuration file or set the REGISTRY_HTTP_SECRET environment variable." go.version=go1.16.15 instance.id=12684c43-05c5-4626-ab0e-8a33e35e90b1 service=registry version="v2.8.1+unknown"
time="2024-03-15T08:05:26.261823112Z" level=info msg="redis not configured" go.version=go1.16.15 instance.id=12684c43-05c5-4626-ab0e-8a33e35e90b1 service=registry version="v2.8.1+unknown"
time="2024-03-15T08:05:26.262002446Z" level=info msg="Starting upload purge in 2m0s" go.version=go1.16.15 instance.id=12684c43-05c5-4626-ab0e-8a33e35e90b1 service=registry version="v2.8.1+unknown"
time="2024-03-15T08:05:26.271132206Z" level=info msg="using inmemory blob descriptor cache" go.version=go1.16.15 instance.id=12684c43-05c5-4626-ab0e-8a33e35e90b1 service=registry version="v2.8.1+unknown"
time="2024-03-15T08:05:26.274496069Z" level=info msg="restricting TLS version to tls1.2 or higher" go.version=go1.16.15 instance.id=12684c43-05c5-4626-ab0e-8a33e35e90b1 service=registry version="v2.8.1+unknown"
time="2024-03-15T08:05:26.274564759Z" level=info msg="restricting TLS cipher suites to: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_AES_128_GCM_SHA256,TLS_CHACHA20_POLY1305_SHA256,TLS_AES_256_GCM_SHA384" go.version=go1.16.15 instance.id=12684c43-05c5-4626-ab0e-8a33e35e90b1 service=registry version="v2.8.1+unknown"
time="2024-03-15T08:05:26.274703444Z" level=fatal msg="open /certs/registry.crt: no such file or directory"

Share your CLI command or docker-compose.yml for the failing service.

Please use 3 backticks in front and after code/config to make it more readable.

I edited your post. Please, do next time as @bluepuma77 asked. more information here: How to format your forum posts

You probably didn’t mount the certs. Knowing how you deployed the registry can help, but you can also find the documentation about deploying the registry here: Deploy a registry server | CNCF Distribution

Personally, I think I would install Harbor instead, but I have neve done it yet. It is in my bucket list.