How do you run your own private registry quickly?
BeginnerConceptRuntime Stack, OCI & Registries
Answer
docker run -d -p 5000:5000 --restart=always --name registry registry:2
docker tag app localhost:5000/app && docker push localhost:5000/app
For remote use you need TLS and authentication (htpasswd or token); otherwise clients must list it under insecure-registries, which is only for labs.
More on Runtime Stack, OCI & Registries
What is the architecture of Docker Engine?IntermediateWhat is the OCI and what specs does it define?IntermediateWhat does `runc` do?IntermediateWhat is containerd and how does it relate to Docker and Kubernetes?IntermediateWhat are `ctr`, `crictl` and `nerdctl`?IntermediateWhat is CRI-O?Intermediate