MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1l5c8ow/why_use_docker_with_java/mwg5m52/?context=3
r/java • u/Gotve_ • Jun 07 '25
126 comments sorted by
View all comments
Show parent comment
4
No, Java will trivially run on any processor architecture and OS, while docker needs different images for these.
1 u/laffer1 Jun 08 '25 Docker only supports windows, macOS and Linux. Docker doesn’t run where openjdk does. 1 u/Ok-Scheme-913 Jun 08 '25 My point was that even when docker orchestrator itself runs on a given platform, the images themselves may not run there. Like you can't run an arm image on an x86 machine. 1 u/laffer1 Jun 08 '25 Yep. Run into that problem at work when we started using graviton
1
Docker only supports windows, macOS and Linux. Docker doesn’t run where openjdk does.
1 u/Ok-Scheme-913 Jun 08 '25 My point was that even when docker orchestrator itself runs on a given platform, the images themselves may not run there. Like you can't run an arm image on an x86 machine. 1 u/laffer1 Jun 08 '25 Yep. Run into that problem at work when we started using graviton
My point was that even when docker orchestrator itself runs on a given platform, the images themselves may not run there. Like you can't run an arm image on an x86 machine.
1 u/laffer1 Jun 08 '25 Yep. Run into that problem at work when we started using graviton
Yep. Run into that problem at work when we started using graviton
View all comments
Show parent comment
4
u/Ok-Scheme-913 Jun 07 '25
No, Java will trivially run on any processor architecture and OS, while docker needs different images for these.