Docker registry ਇੱਕ ਸਟੋਰੇਜ ਅਤੇ ਡਿਸਟ੍ਰੀਬਿਊਸ਼ਨ ਸਿਸਟਮ ਹੈ Docker images ਲਈ — ਤੁਸੀਂ images ਨੂੰ ਇਸ ਵਿੱਚ push ਕਰਦੇ ਹੋ ਅਤੇ ਇਸ ਤੋਂ ਉਹਨਾਂ ਨੂੰ pull ਕਰਦੇ ਹੋ। Docker Hub ਡਿਫਾਲਟ ਪਬਲਿਕ registry ਹੈ; ਸੰਸਥਾਵਾਂ ਅਕਸਰ ਪ੍ਰਾਈਵੇਟ registries ਵਰਤਦੀਆਂ ਹਨ। Registries ਉਹ ਹਨ ਕਿਵੇਂ images ਸ਼ੇਅਰ ਅਤੇ ਡਿਪਲੋਅ ਕੀਤੇ ਜਾਂਦੇ ਹਨ।
Registry ਕੀ ਕਰਦਾ ਹੈ
A REGISTRY stores and distributes Docker images:
→ PUSH an image to the registry (upload/publish it)
→ PULL an image from the registry (download it to run)
→ This is how images move between machines: build once, push, pull anywhere
(CI builds an image → pushes to a registry → production pulls and runs it)
