# Rke2 private registry

**URL:** <https://forums.suse.com/t/rke2-private-registry/20924>\
**Category:** General\
**Created:** [August 13, 2021, 8:30pm UTC](https://forums.suse.com/t/rke2-private-registry/20924 "2021-08-13T20:30:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![khalsa](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/khalsa/32/7879_2.png) [@khalsa](https://forums.suse.com/u/khalsa)\
**Post date:** [August 13, 2021, 8:30pm UTC](https://forums.suse.com/t/rke2-private-registry/20924/1 "2021-08-13T20:30:47Z")

</div>

I am trying to setup a air-gaped rke2 cluster and want to use Artifactory as private registry. When i start service as “rke2 server”, it fail as it is constructing incorrect registry url.  
For example:  
tar files are at - \> artifactory/v2/repo-name/rke2/linux.amd62.tar.gz  
and when i run “rke2 server”, it construct URL as artifactory/v2/rke2/linux.amd62.tar.gz

Some environment details:

- VM - RHEL 8.x
- Artifactory 7.x
- registries.yaml is updated with private registry configuration
- NetworkManager configuration are per guidelines at [docs.rke2.io/install/airgap](http://docs.rke2.io/install/airgap)
- Containerd configuration are per guidelines here at : [docs.rke2.io/install/containerd\_registry\_configuration/](http://docs.rke2.io/install/containerd_registry_configuration/)
- Firewalld is disabled
- Docker daemon.json is also updated with private registry

Appreciate any suggestions
