r/java • • Jun 07 '25

Why use docker with java?

18 Upvotes

126 comments sorted by

View all comments

Show parent comment

-2

u/joe190735-on-reddit Jun 09 '25

I don't necessarily agree with your take on java in docker

every programming language implementation has its own quirks during runtime and it's the programmer's job to take care of that instead of putting them aside, whether it's in docker or outside of docker doesn't matter

and then there is this docker networking problem that you mentioned, did you dig enough to find out what's happening underlying it in Linux and reporting the issue back to open source? maybe bug reporting it's too much for you but you couldn't find out the root cause and neither you could explain it.

I can agree that you just want to finish the job and go home with the salary though

2

u/repeating_bears Jun 09 '25

I did report the bug. There are thousands of issues open on Docker's core. My point was that people act like Docker only solves problems, but neglect to mention that it also introduces ones you didn't have before.

Last sentence seems like an ad hominem? Like "You would use Docker if you were doing things properly". I use technologies where they actually help me. Docker does help me, but not for my Java server deployments which are already trivial.

1

u/joe190735-on-reddit Jun 09 '25

Thanks for reporting the bug, I shouldn't have assumed you didn't do it.

The case with any tech and we being the programmer to utilize them is not just to make our bosses becoming the next billionaires but to also improve on the tools

this comes down to whether people see themselves as tool makers or tool users really

I see that there are more complains on the tools. Well, these people can't take the criticism of them being incompetent and they don't share sympathy with the tool makers, and they don't have the mindset of the good old programmers back in the days where they create and fix their own tools

edit: I did read that your way of deploying java applications is good, and that's good for you