adamant-kite-43734
04/03/2023, 3:03 PMwhite-xylophone-9961
04/03/2023, 5:35 PMlimactl shell <instance>
sudo -i
cat <<EOF > /etc/rancher/k3s/registries.yaml
mirrors:
localhost:
endpoint:
- "<http://localhost:5000>"
EOF
I use dockerd, so can't speak on nerdctl.
I created a ~/Docker-Storage directory to contain pushed images.
docker run -d --restart=always -p "127.0.0.1:5001:5000"
-v ~/Docker-Storage:/var/lib/registry --name registry registry
Then for images to be accessible, you tag to localhost:5001 and push there. But, image locations in charts or variable files will need to point to this localhost:5001.proud-parrot-81193
04/03/2023, 6:23 PMproud-parrot-81193
04/03/2023, 6:23 PMproud-parrot-81193
04/03/2023, 6:23 PM