WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  WebSphere Liberty Official Docker Image Java 21 Support

    Posted Thu June 06, 2024 07:24 PM
    Edited by Piper Wilson Fri June 07, 2024 10:52 AM

    Hi,

    I am trying to explore the websphere-liberty official docker image and I see the image tags to be only supporting Java 17. Will there a future release to include Java 21?

    Also, on the other hand, I am looking at this docker image repo, https://hub.docker.com/r/ibmcom/websphere-liberty. This repo has Support for Java 21. I see this repo is maintained by IBM, what's the difference between the official docker image vs the image that's available in this repo?

    Thanks,

    Rohit



    ------------------------------
    Rohit
    ------------------------------



  • 2.  RE: WebSphere Liberty Official Docker Image Java 21 Support

    Posted Fri June 07, 2024 05:19 AM

    Hi,

    If you are comparing these two:

    • https://hub.docker.com/_/websphere-liberty

    • https://hub.docker.com/r/ibmcom/websphere-liberty

    The difference is underlying operating system:

    • First one uses - WebSphere Liberty multi-architecture images based on Ubuntu 18.04
    • Second - WebSphere Liberty multi-architecture images based on UBI 8.

    The UBI is preferred for OpenShift deployments, but you should be able to use it in any other container environment also.

    Regards
    Gas



    ------------------------------
    Regards
    Gas
    ------------------------------



  • 3.  RE: WebSphere Liberty Official Docker Image Java 21 Support

    Posted Fri June 07, 2024 11:58 AM

    Thank you for the Response.

    Follow up question on this docker image, https://hub.docker.com/_/websphere-liberty. Would there be a Java 21 version available soon for this ubuntu image? Just Curious.

    Thank you.



    ------------------------------
    Rohit
    ------------------------------



  • 4.  RE: WebSphere Liberty Official Docker Image Java 21 Support

    Posted Tue June 11, 2024 09:59 AM

    I spoke with the folks that are maintain the container images.  They recommend using the IBM Container Registry if you want to use Java 21 with Liberty in a container.  There is no date for the release on Ubuntu with Java 21.

    Brian



    ------------------------------
    Brian S Paskin
    Sr. Technology Engineer
    IBM Cloud Engineering
    ------------------------------



  • 5.  RE: WebSphere Liberty Official Docker Image Java 21 Support

    Posted Fri June 07, 2024 06:08 AM

    You can also use the IBM Container Registry to get the images.  More info in the Knowledge Center.

    icr.io/appcafe/websphere-liberty:<tag>



    ------------------------------
    Brian S Paskin
    Sr. Technology Engineer
    IBM Cloud Engineering
    ------------------------------