Yep i’am already fingered it out. I git cloned rancher-catalog and changed all tags in infra-templates to local ones.
Here is my settings for rancher/server:
docker run -d --restart=unless-stopped
-e DEFAULT_CATTLE_CATALOG_URL=‘library=http://local-git.local/rancher-catalog.git’
-e CATTLE_BOOTSTRAP_REQUIRED_IMAGE=local.registry.local:5000/rancher/agent:v1.1.0
-e CATTLE_LB_INSTANCE_IMAGE=local.registry.local:5000/rancher/lb-service-haproxy:v0.4.2
-p 8080:8080
–name rancher-server local.registry.local:5000/rancher/server:v1.2.0
Dont’t forget to add --pod-infra-container-image=localregisty.local:5000/kubernetes/pause:3.0 to kubelet args in infra-templates/k8s.
Everything works like a charm 8)