hi im trying to setup a container registry to upload images for my offline environment. At the moment im working on a test instance with internet access.
i have the problem that i dont know how to upload/push a container the correct way. i created the docker registry within an podman instance with
podman run -dt -p 5000:5000 --name=registry --volume /opt/container_registry:/var/lib/registry:rw registry:2
after that i edited the gitlab.rb file and added these two lines (ips are from a tialscale network):
registry_external_url 'http://100.114.81.95' gitlab_rails['registry_api_url'] = "http://127.0.0.1:5000" registry_nginx['redirect_http_to_https'] = false registry_nginx['listen_port'] = 5678
i deactivated https because in this test environment i dont have certiticates.
Than i sucessfully loged in with
podman login 100.114.81.95:5678 --tls-verify=false.
and now the problem started. i could sucessfully downloaded the latest alpine image for test, retagged it with
podman image tag docker.io/library/alpine:latest 100.114.81.95:5000/root/homelab/alpine:latest and also upload it with
podman image push 100.114.81.95:5678/root/homelab/alpine --tls-verify=false. but the image didnt showed up in my gitlab instance i also tried to change the port from 5000 to 5678 and reverse but nothing worked, i dont see the image on my gitlab UI…
thanks in advance