Janm84
1
Hey there,
if have a docker-registry running inside an incus container with docker…
I have succesfully added the registry to incus, but I get an error when i try this:
root@homelab:/home/jan# incus launch develbox:hello-world
Launching the instance
Error: Failed instance creation: Failed getting remote image info: Image not found
root@homelab:/home/jan#
The registry is still working:
root@homelab:/home/jan# curl -k https://develbox:443/v2/_catalog
{"repositories":["frigate-s6-init","frigate_s6_init","frigatemij","hello-world"]}
Does any one have any ideas?
Janm84
2
Meanwhile i found this in the log of the registry:
2025/01/18 16:27:25 http: TLS handshake error from 10.244.61.1:38246: remote error: tls: bad certificate
Seams that incus oder the registry is not accepting the selfsigned SANs IP certificate :-/
htcosta
(Helder Costa)
3
I don’t think this is related to incus itself, nevertheless it could be implemented as for eg --insecure
flag, it might already exist.
You could add the certificate to your trusted store.
Something along the following lines, depending on your distribution.
sudo cp your-registry.crt /etc/ssl/certs/
sudo update-ca-certificates
I think incus uses skopeo and umoci.
Janm84
4
Hi htcosta,
cp the crt to my truststore and update with update-ca-certificates worked! 
Sometimes things are really easy. than you very much and be welcome to the community 
Best regards
Jan
1 Like
Janm84
5
btw. it’s skopeo
http.request.useragent="skopeo/1.17.0"
htcosta
(Helder Costa)
6
Thanks, happy to be here, been following incus since it’s been forked from LXD.