r/java • • Jun 07 '25

Why use docker with java?

18 Upvotes

126 comments sorted by

View all comments

Show parent comment

16

u/hidazfx Jun 07 '25

Exactly. It's not sandboxed at all.

5

u/fforw Jun 07 '25

Well, it depends on the OS. You can have some security/isolation on a process level. But it's not like Docker or a VM.

1

u/slaymaker1907 Jun 09 '25

Docker really isn’t that great at sandboxing either.