Installing Docker Registry
You need to edit /etc/docker/daemon.json and add the folowing line:
{ "registry-mirrors": ["http://docker.bardia.tech:8080/"] }
Save the file and restart docker service (sytemctl restart docker)
To use with kubernetes:
To install kubernetes: kubeadm init --image-repository docker.bardia.tech:8080
To update kubernetes: kubeadm config images pull --image-repository docker.bardia.tech:8080