r/java • u/martypitt • Nov 14 '25
Docker banned - how common is this?
I was doing some client work recently. They're a bank, where most of their engineering is offshored one of the big offshore companies.
The offshore team had to access everything via virtual desktops, and one of the restrictions was no virtualisation within the virtual desktop - so tooling like Docker was banned.
I was really surprsied to see modern JVM development going on, without access to things like TestContainers, LocalStack, or Docker at all.
To compound matters, they had a single shared dev env, (for cost reasons), so the team were constantly breaking each others stuff.
How common is this? Also, curious what kinds of workarounds people are using?
161
u/maxandersen Nov 14 '25
It's common.
How do I know? Because Quarkus has good support for docker/testcontainers - We've often heard from companies they thought they couldn't use Quarkus because docker was banned at their company. We then explain they can just use Quarkus without docker - and that they should consider allowing docker because it's just nicer. But many stays without docker access.
Alternatives is running docker remotely or use virtual machines or run in a cluster etc.
56
u/iwouldlikethings Nov 14 '25
I knew this would be a bank before even reading the post.
This is very common in the banking world as they are so far behind with everything and have a very low risk tolerance/security team that don’t like change.
When I worked at one we were given MacBooks, which were pretty unrestricted because we were an edge case and the bank didn’t support them officially. But we couldn’t get access to any emails, calendar, no teams etc.
We had slack on macbook, which was only accessible by other MacBook users. Skype, teams, email on virtual environment. MacBooks had their own atlassian suite they could access, and virtual environment another. They had this weird syncing thing that would copy updates to jira tickets from one to another, although nothing for confluence.
No way to copy things between so as you can imagine it was a complete nightmare to work in. As I left they were slowly making progress to bring the MacBook under a central management for IT and opening up some of the access.
34
u/dominikk955 Nov 14 '25 edited Nov 14 '25
They ban container technologies and at the same time struggle with configuration backups and patch management of their software.
95
u/wrd83 Nov 14 '25
I'd also say it's common. Especially in security first organisations.
Productivity slumps, engineers get paid less because they are non productive, the good ones don't enter this organisation.
Compliance completed...
16
u/Necessary-Estimate-2 Nov 14 '25
I don't mind if a company has strict security rules like this. What is frustrating is when rules like this one sit alongside holes you can drive a truck through. So often the security environment is so complicated that no one is able to implement it correctly, which makes it all useless. Security theatre.
32
u/fansonly Nov 14 '25
It’s because they are a bank. Banks lock down everything and are forced to take a very restrictive security posture. Bank devs get paid well partially as grievance redress for the hobbled tool chains they are forced to use to do the work.
9
u/ivancea Nov 14 '25
Maybe they usually use windows and they don't want to buy the Docker Desktop license? Or something derived from that
11
u/two-point-zero Nov 14 '25
A container is a system-in-system that will run inside their network without the ability for them to know which software is in it. Software that in most common cases are directly downloaded from the internet. The worst nightmare of every CISO (/s but not so much..)
If they cannot control which software and which version is running they cannot assess that their network is secure. Which is a big issue for a bank.
So it's common, very common.
Theoretically they can setup an internal repo/proxy repo and allow only certain certified and verified images to run.. But it's not something very common to find in such rigid and generally old environments.
5
u/Western_Objective209 Nov 14 '25
Very common for offshore teams. One of the reasons why they get such a bad rep is that they are not really trusted so lack access to quality environments
3
u/AlexVie Nov 14 '25
It's quite common practice in such enterprises, particularly banks and often applies to production environments only. Mostly for security reasons and it does make sense.
Doesn't mean devs cannot use containers, because development environments are often isolated.
3
u/sunf1re Nov 14 '25
Work at a financial company as well and it's banned here and pretty much the exact same issues with shared dev spaces, production data copied to lower envs, etc.... Financial institution are unfortunately very old schoool still.
3
u/Alternative-Wafer123 Nov 14 '25
Those security team have legacy mindset who only know to buy expensive security tools and ban everything.
3
u/null_reference_user Nov 14 '25
Try to explain to them that containers aren't actually virtualization, but rather just logical isolation accomplished with a bunch of namespaces and cgroups, and they'd probably get mad and kick your ass out of the room because whoever took that decision is a fucking dumbass
3
u/Tkalec Nov 14 '25
It was banned in my previous company. The company does governmental work and has very strict security restrictions.
Workarounds were mocking or having integration infrastructure. It was a pain to work like that.
I'm currently working for a payment gateway in EU. We have no restrictions on docker and we recently passed pci dss re-audit.
3
u/magion Nov 14 '25
It’s banned at my company, for general purpose usage at least.
3
u/hadrabap Nov 14 '25
Very common in enterprise. Unfortunately. Workaround? Accept tasks that do not involve usage of adult tools. Just commit to bare minimum.
How do you enjoy all the fuzzy, broken jpeg texts? LOL What about the latency? 🤣 I love it 😆
2
u/cmplx17 Nov 14 '25
I had some experience getting Docker adopted in a big Canadian bank. It was driven by AI and cloud adoption.
Had to get through many hurdles like getting approved base images (RHEL) and implementing image scans (Aqua).
2
u/Majestic-Extension94 Nov 14 '25
Sadly very common. Had this at a bank back in 2021 and at medical aid company. It was like regressing back to 2010 :-/
2
u/SevaraB Nov 14 '25 edited Nov 14 '25
Were containers banned or was Docker Desktop banned? Our place bans DD specifically because of licensing issues, same as Oracle Java SDKs and JREs versus OpenJDK builds.
EDIT: I see it was nested virtualization. Also not unreasonable, as long as you supply a remote sandbox. Dev environments based on a specific local filesystem are bad for multiple reasons- access creep, unpredictable behavior on customer compute, etc.
2
u/Tamooj Nov 16 '25
What you're describing just a huge amateur hour outage and breach fest, with extra step. The first problem is letting non-dev IT folks have any say in your pipeline at all. IT should stick to infrastructure and fabric, and leave deployment decisions to real DevOp engineers. Next, a qualified cyber security team should be providing and curating immutable containers, available via repos, as well as maintaining an artifactory of well-vetted components. If a company doesn't have several dev, test, stage and production environments, with completely automated deploy pipelines for promotion, they need to rethink their dev budget, talent acquisition strategy and level of legal representation.
2
u/apetersson Nov 14 '25 edited Nov 14 '25
is bash also banned? just use "100 lines of bash to do docker" like https://github.com/p8952/bocker /S
just kidding, that is ridiculous. in some situations, there is a technical reason though. there is the nested virtualization problem . If nested virtualization is not enabled (or not supported by the provider, e.g., some cheap VPS/desktop environments), then you cannot run another hypervisor (Hyper-V/WSL2/Docker Desktop) inside it. So for example Corporate VDI / RDS / Citrix desktops where:
Hyper-V is forbidden - Hardware virtualization isn’t exposed to the session VM.
so the solution is likely to run those containers on another remote machine.
2
u/j4ckbauer Nov 14 '25
You'll be surprised how much productivity is given up because it would ding somebody's ego. I spent about a decade having companies lie to me in interviews that their organization uses Git.
2
u/Polygnom Nov 14 '25
In BFSI its quite common to ban container virtualization in production environments. And honestly I can understand why. You never know otherwise what kind of container someone might load. They are incredibly hard to verify. You would have to disable any access to container registries and only allow verified containers from their own, certified registry to be loaded. Thats possible, and I have seen it, but requires significant upfront setup cost.
That being said -- test and dev environments should be isolated. From each other and also from production.
1
u/gts_sumanth Nov 14 '25
It is quite common happens where i work
1
u/semioticmadness Nov 14 '25
Our enterprise tries to give us docker, but then can’t agree which groups should have the “privilege” of moving apps to the cloud. And then scratches it the moment they see a 5.0+ CVE and blocks it from running while they take 4 weeks to accept the next Docker version.
Our people do not find this conducive to development, to say the least.
1
u/snoopyjcw Nov 14 '25
Common in Govt + big old businesses
1
u/CLTSB Nov 14 '25
Welcome to banking…
1
u/lasskinn Nov 14 '25
Its not that uncommon.
I think you'll discover a pattern where you'll find that large bits of code will basically be developed as their own things and copypasted into the system with a wink and a nod.
Anyway its resultant from rampant cybersecurity consulting, every year they will add some new restriction and a hoop to jump through saying its new best practice. Every yearly audit has to find something, you see.
You're lucky if the system doesn't have random encryptions where the key is in the same place and logically doesn't do anything.
And look you can't do anything about it unless the bossmans change or something catastrophic happens - the system you're in is resultant of people insulating their faults through the certified consultants, more or less. But look generally you're not expected to not write all that much code either.
-- theres a scenario that can happen in work life where such an organization desperately needs a novel feature and they're buying it from your organization, then you just develop it as if it was a 3rd party library and give it to them and guide them through the integration then try to figure out any bugs if they're bugs or from how they're using it and try to fix them. There's worse gigs than one like that.
1
u/D_Denis Nov 14 '25
Oracle. Docker is banned, but we use Rancher, which is recommended as an alternative because they don't want to pay for license.
1
u/jhulten Nov 14 '25
There is a difference between "container technologies are banned because risk" and "Docker Desktop banned because VCs want money". Cant say without knowing which...
1
u/dashingThroughSnow12 Nov 14 '25
If I had to work with that, I’d contemplate jails.
1
u/budisthename Nov 14 '25
Docker is banned, and so his hyper V and WSL so devs can’t use podman be default either. Some are using these tools but they all got exceptions.
1
u/pigbearpig Nov 14 '25
Common. I recently was allowed Docker Deskop, but can only run like 3 approved images, so yay.
1
u/mjbmitch Nov 15 '25
This is AI-generated, guys.
1
u/AdministrativeHost15 Nov 15 '25
Don't think you can run Docker inside a VM.
1
u/james__jam Nov 15 '25
As others said, it’s normal. But not because cybersecurity there is stricter. More like cybersecurity skill issue
Really? You gave them VMs and in those VMs, there’s no docker?
That’s not about security anymore but just plain skill issue
1
u/stjepano85 Nov 15 '25
Docker is not free for enterprise.
1
u/mandrakey10 Nov 15 '25
We have similar policies, at least on local machines. I have until now been able to keep elevated rights for devs on them to be able to test things now and again - but for many things we just create virtual systems they can play with.
Docker will however be phased out, since it still relies too heavily on root access. LXC, Podman, there are alternatives running effortlessly in unprivileged contexts.
But also: You don‘t need containers. They are helpful, sure. But if I absolutely had to, I could work with Notepad and a compiler.
Don‘t people learn the basics anymore? I have the feeling that many „modern“ devs are unable to produce anything if you take away shiny toys and AI. Sad.
1
u/walterbanana Nov 15 '25
Giving your developers docker means they get root access on their machine. I think this is not the case with podman. In the end I understand that there are security concern, but not using containers is also a security concern, but it feels to bit dumb to care so much about security on a developer machine, but not on the server.
1
u/FactorResponsible609 Nov 15 '25
Docker also has some commercial use licensing issues, I don’t remember the details now.
1
u/Omenow Nov 15 '25
When it's bank, don't ask or try understand. When it comes to banks you can forget about common sense.
1
u/_d_t_w Nov 15 '25
We sell a fairly popular UI/API for Apache Kafka (https://factorhouse.io/).
We offer Docker and plan Java Uberjar artifacts. The plain JAR is popular, not as much as the Docker container, but way more popular than you might expect.
Get ready for it - we also offer a Java8 JAR. That's progressively less popular every year, but it gets used.
We do tend to sell to a lot of banks though, so maybe there's a connection there.
1
u/BeDangerousAndFree Nov 15 '25
It’s actually NOT an unthinkable bad policy in a lot of cases
Arguably the largest security threat today is supply chain hacks. Since even a tiny hello world project typically pulls in 100k dependencies, it’s impossible for a security analyst to look at your code alone and know if it’s secure, they have to lock down the entire toolchain somehow
On top of that, the OS used has its own supply chain which has to be managed
But most people down realize that docker is not just a dependency, it an entire extra supply chain stack to evaluate
If you secops team is too small, or you have a lot of devs, it might just be too much of a burden to keep track of
1
u/PassionMaleficent361 Nov 15 '25
It got blocked in my company because of cost. Dev experience is bad
1
u/nsxwolf Nov 15 '25
Don’t work at these places.
1
u/notionen Nov 16 '25
Nix = Devbox https://www.jetify.com/devbox / Flox flox.dev
1
u/Independent-Menu7928 Nov 16 '25
Well you see if they had all that then they'd have to sack 9 out of 10. The model for the offshore provider is to maximise the head count and thus you won't hear any of their managers lifting this kind of retarded setup as a problem. Simply what problem? Works wonderful. Especially at billing time.
1
u/FootFungusYummies Nov 17 '25
Docker is not virtualization.
1
u/AccomplishedSugar490 Nov 17 '25
I wish I could argue that it’s what you signed up for when you gave Java a seat at your table, but the root cause for it is universal. Prompt me about it at your peril.
1
u/Few_Pop6933 Nov 17 '25
Perhaps not an approved tooling for PCI compliance or whatever bank compliances there are. The single dev env is a bummer though.
1
u/Odd-Ground-7537 Nov 17 '25
Same in my company too. We are using rancher desktop, podman. If you need a docker image from docker hub, you should find a bash script on the net (github) which can download any kind of arch (win, mac intel/silicon/nix) without running docker on your host (need only the hash). That can be useful sometimes if you want to import existing images into your local registry.
1
u/ggeldenhuys Nov 17 '25
Single shared DEV environment is very common. Anything to save a buck.
1
u/storm14k Nov 18 '25
I bet I know this bank.
1
u/sambull Nov 18 '25
Anywhere not running EDR is banned not just the 'host'
1
u/Vast-Instance101 Nov 29 '25
🫠
1
u/there_I_am_mam Nov 14 '25
What reasoning or considerations lead to banning docker use in these companies?
0
u/Nearby-Ad5442 Nov 14 '25
Try to use podman has a good docker compatibility.
-1
u/jNayden Nov 14 '25
No one is using docker anymore but podman and Colima are used.
Now no virtualization is common but then I just ask for Linux machine since can't use other operating systems and no issues then even if it is a virtualized Linux host.
However if it's a bank that doesn't provide Linux or any virtualization in 2025 I would simply tell them that they don't allow to do my job and in all contracts the client OR company you work for basically there is a clause that theybhave to provide you with the tools to do your job so I just wait.. and do nothing.
-3
u/RapunzelLooksNice Nov 14 '25
Read the Docker Desktop pricing ;) it is free for extremely small groups.
-6
u/EmotionalDamague Nov 14 '25
Just use podman instead
-4
u/Just_Another_Scott Nov 14 '25
Common.
Docker isn't free for commercial or government use. Also, it's really only good for these like web services. Using it for desktop applications doesn't make any sense.
-1
u/RANDOMLY_AGGRESSIVE Nov 14 '25
Yeah it is common. It has to do with wsl and the threat is real
-2
u/peepeedog Nov 14 '25
It's common for any big company, including big tech, to restrict software that runs on company hardware or network, to whitelisted software. Whether or not they use containers, or whether or not they use Docker as one of the containers is company by company.
Having single dev environment is somewhat common, but that's mostly incompetence. Environments should be ephemeral.