Hello Team, i have installed Rancher-desktop on m...
# rancher-desktop
c
Hello Team, i have installed Rancher-desktop on my windows machine, i want to pull one image from Private harbor registry , the URL does not have any certificate (https) to am getting some issue tls: failed to verify certificate: x509: certificate signed by unknown authority How can i add insecure-registries entry in my daemon.json file in windows ?? I tried workaround from Offical documentation https://docs.rancherdesktop.io/1.18/how-to-guides/provisioning-scripts/#windows As an example, using
%LOCALAPPDATA%\rancher-desktop\provisioning\insecure-registry.start
will allow
nerdctl
to use insecure registries by default:
Copy code
#!/bin/sh

mkdir -p /etc/nerdctl
cat >  /etc/nerdctl/nerdctl.toml <<EOF
insecure_registry = true
EOF
but after adding this also getting same above certificate issue Please help to resolve this issue, its quite urgent Thank you in advance
w
are you using containerd or dockerd?
c
containerd
w
have you tried to just pass
--insecure-registry=true
on the nerdctl call or is that pull coming from k8s?