Well, lets go!
1 Install the package:
apt install docker-registry
2 Tell the machine where you are going to pull to, that the registry is “unsafe” (non-https):
{
"insecure-registries":
[
"docker.internal:5000",
"registry.linux.pizza:5000"
]
}
3 Create a basic-auth on your registry:
htpasswd -Bbn dockeruser registrypassword >/etc/docker/registry/.htpasswd
4 Login to the registry from your host:
docker login -u dockeruser registry.linux.pizza:5000
Dont forget to restart docker!
Have fun!