Docker registry 是一个用于存储和分发 Docker images 的系统——您可以将 images push 到其中,也可以从中 pull。Docker Hub 是默认的公共 registry;组织通常使用私有 registry。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)
