r/devops • u/Plastic-Switch1992 • Sep 17 '26
Discussion Looking for a docker registery
My company serving 5 apps to the many customers. Managing deployment and new releases are the biggest problem. Because all the time we are copying the build files and pasting to the target server by connecting with rdp. I Want to use dockerfiles for serving and want to keep these images on our server with a registery.
ACR (azure container registery) and the other ones are still the options but i want to host in my server like i did for npm libraries with verdaccio.
And i would like to get your opinnions about my deployment plan. Our customers servers are all windows. We have some windows-only apps. But for the ones which i plan to serve with docker file is better to run with docker. So i plan to use WSL and pull the images from the registery that i am planning to create.
Wdyt?
31
u/LeMochileiro Sep 17 '26
For registry self-hosting, I use Harbor. My priority is always to use providers like Docker Hub, GHCR, and ECR. But if for some reason (usually involving firewall configuration and security policies) I can't connect to those providers to pull images; I use Harbor. It works very well for me and doesn't consume much CPU or memory.
Setting it up via Helm Chat for K8s is quite easy. I don't know how it is done in other ways.
15
u/Sufficient_Job7779 Sep 17 '26
We selfhost gitlab for code and use it's docker registry
10
u/foofoo300 Sep 17 '26
we use zot
22
u/ID10T-3RR0R Sep 17 '26
Dockerhub, nexus, artifactory?
6
u/QuailAndWasabi Sep 17 '26
First ask yourself why you want to self host. ACR (and probably most similar options) can be completely locked down to private VNets and accessed through privatelink for example.
It's doubtful your private servers would be more secure than Azure/ACR if configured correctly. It's also very cheap, costs basically nothing with so few images, and administration is limited after initial setup because you dont have to think about patching and stuff yourself.
4
u/taleodor Sep 17 '26
We use zot by default - it's the easiest option, we recently also load-tested our tool that uses OCI as primary storage via Oras. The writeup has performance comparison between registries - https://rearmhq.com/blog/2026-09-02-load-testing-rearm-sbom-ingestion/
4
u/IrrerPolterer Sep 17 '26
Registry is the simplest option if you just need a lightweight image registry on local/private infrastructure. Alternatively, if your deployments run in AWS/GCloud/Azure, then just using their respective registry products is the easiest approach.
1
u/pausethelogic Sep 17 '26
Why would you want to host a docker registry on your own server?
Where are your customers apps hosted? Do they own the infrastructure or are they in infrastructure you manage and have access to?
If they’re in Azure, use ACR. If they’re in AWS, use ECR. Don’t make it more complicated than it needs to be
Whatever you go with, do what you can to not RDP into servers anymore. That’s a huge pain and deployments should be handled by an actual pipeline
4
u/flotaxy Sep 17 '26
gitea/forgejo bring a container registry with them
1
u/Hour-Swimmer7140 Sep 17 '26
the detail nobody has picked up is that your customer servers are windows and you have windows only apps. that shapes this more than the registry choice does.
windows container images are tied to the host build. something built on ltsc2022 wont run under process isolation on a 2019 host, so youre shipping a matrix rather than one image. theyre also enormous next to linux ones, so wherever you host it, the constraint is bandwidth out to each customer site rather than disk on your side.
harbor and zot both handle it fine. id work out the base image matrix first, thats the part that decides whether the plan works at all
1
u/angrymeditator Sep 17 '26
u can build the image locally in a tar and then host a private registry on github as it does offer that service.
1
u/Suitable-Ad5348 Sep 18 '26
Harbor is fine if you want verdaccio-for-images. gitlab registry too if you already run gitlab.
WSL docker is linux containers though. windows-only apps still need another path. get one linux service pulling from the registry on a customer box before you rip out RDP everywhere.
1
u/nekokattt Sep 18 '26
Why cant the customers run Linux on their servers if this is the main use case? Either you should be defining their system requirements entirely on the OS level, or you should be giving them instructions to run stuff in a Linux environment and providing the expectation that they manage a VM to run the application in and maintain it.
1
u/vlad_h Sep 18 '26
Brother, I think your are a bit confused or your terminology is incorrect. You don’t serve Dockerfiles, you use Dockerfile to make the container your application runs. The dockerfile builds the image, then you put the image in the registry. You do not need WSL. If you want to run on window, docker desktop or any but why would you? For windows specific apps, use VMs as they are hard to put on a container. For apps that can run on Linux, build the container and put it in your registry. That can be a private Azure registry or a private GitHub registry. If you want to automate this, get your customer to install Portainer or some other tool and that will pull your images and you can set it up to even re-deploy automatically. Many options here and this is haut the surface answer. Give me more details and I’ll give you better answer.
1
u/No-Philosopher9797 Sep 20 '26
I'd separate the registry decision from the deployment design. The registry is the easy part; replacing RDP + copy/paste with a repeatable, observable rollout is where you'll get the real win.
For self-hosting, plain Distribution is fine if you only need OCI storage and already have auth, TLS, backups, and monitoring elsewhere. Harbor is the better fit if you want projects/RBAC, robot accounts, auditability, retention, and vulnerability scanning in one place. Either way:
latestI'd pilot this on one customer server before replacing the current process. WSL can run the Linux containers, but it also becomes another production layer you own: Windows updates, reboots, networking, startup, disk growth, and support. If customers can provide a small Linux VM, that is usually cleaner. Keep the Windows-only app on its own deployment path rather than forcing everything into one model.
1
u/obakezan Sep 20 '26
your use case and scenario isn't clear. are the 5 apps being deployed to customers PCs or do you say you deploy them to your own server copying files? If the latter - this isn't neccessarily a docker issue it's a deployment issue - look at some sort of automated deployment - maybe Octopus deploy or something. If you aren't using docker now to run the apps - then you need more than a registry, you need to build the containers, deploy them, run and manage them as well which goes beyond a simple registry.
1
u/zorgonsrevenge Sep 21 '26
Have a look at zot - very easy to deploy. https://zotregistry.dev. Garbage collection that actually works.
1
u/rivotrilbleached Sep 24 '26
Zot does it handsomely for us
-1
u/chin_waghing kubectl delete ns kube-system Sep 17 '26
Why not just an S3 bucket?
They can just use a pre-signed URL or public URL to access the objects.
If they’re running windows then installing WSL may be a deal breaker especially on servers as you want as little stuff on them as possible. If a vendor said “you need to install WSL to pull an OCI image for updates” I’d laugh at them
0
u/FlisherOfatale Sep 17 '26
Your rationale is the exact reason why security breach happen.
Trying to nickel and dime a self-hosted solution to save a few bucks per month introduce while costing more in time.
Unless your pull are really high volume, it’s probably only a few bucks per customer per months..
0
u/Suitable-Ad5348 Sep 17 '26
Harbor or not work fine for self-hosting. For "each customer only pulls what they're allowed", Harbor's project-per-customer + robot accounts is the pattern I've seen work: one project per app line, scoped pull tokens, audit log on who pulled what.
Before you pick the registry though, nail down the Windows side: container images are tied to the host build (2019 vs 2022), and they're huge compared to Linux. You'll be shipping a matrix of tags, and customer bandwidth becomes the bottleneck, not disk on your side.both
0
u/[deleted] Sep 17 '26
[deleted] — view deleted comment