proud-parrot-81193
04/03/2023, 3:03 PMrancher-desktop
and I've built the image again nerdctl build -t arkanmgerges/fe-softwaredev-expert:0.1.0 -f docker/dockerfile-local .
then I tried first install it with helm, but I got a problem that the image couldn't be pulled (locally)white-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 PM