proud-parrot-8119304/03/2023, 3:03 PM
and I've built the image again
then I tried first install it with helm, but I got a problem that the image couldn't be pulled (locally)
nerdctl build -t arkanmgerges/fe-softwaredev-expert:0.1.0 -f docker/dockerfile-local .
white-xylophone-996104/03/2023, 5:35 PM
I use dockerd, so can't speak on nerdctl. I created a ~/Docker-Storage directory to contain pushed images.
limactl shell <instance> sudo -i cat <<EOF > /etc/rancher/k3s/registries.yaml mirrors: localhost: endpoint: - "<http://localhost:5000>" EOF
docker run -d --restart=always -p "127.0.0.1:5001:5000"
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.
-v ~/Docker-Storage:/var/lib/registry --name registry registry
proud-parrot-8119304/03/2023, 6:23 PM