Docker Community Forums

Share and learn in the Docker community.

Docker Hub for microservices?


#1

Hi,

How to use Docker Hub for micro services? There are many images and each image has versions. Wouldn’t it be costly to use one registry for one image and keep the versions as tags in this case?


(Metin Y.) #2

A single repo is used for a single image.
If your microservice has n images, you need n repos.

If cost is an issue, you might think about operating your own private repo which also helps to reduce latency and increase network bandwidth if operated in the sam lan as your Docker Engines. See: How to deploy to customer machines for options.