Using Payara Server with Docker

Payara

Docker is a platform which makes it easier to create, deploy and run your applications using containers. A container bundles all the software needed to run it. By packaging the required dependencies, it makes it easy to run it on any machine, regardless of small configuration differences. This article will explain more about introducing Docker. 

The guide linked below will demonstrate the basic usage of Docker, including videos, as well as provide some example configurations using the Payara Server Docker images.

Learn how to:

  • Get started with Docker
  • Install Docker
  • Use Docker containers
  • Write Docker images
  • Build a DockerFile
  • Use the Payara Server Full Docker Image
  • Deploy applications using the Payara Server admin console
  • Cluster Payara Server Docker Containers 

{{cta(‘faa4a554-5e7f-45a3-b808-23d25d47c7db’)}}

Payara provides several Docker container images (download here). These can be used as-is to run your applications on Payara Server or Payara Micro (the Payara Platform). Or you can create your own Docker images based on them. If you want to explore more resources visit this page for more guides, videos and articles. 

 

Comments (4)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

  1. Richard Grin

    Thanks for this very useful document.
    I used it to build an image above the docker image of Payara server full, with a Java 11 web application. During the deployment, this message is written:
    Boot Command deploy failed PlainTextActionReporterFAILUREDescription: deploy AdminCommandError occurred during deployment: Exception while loading the app : CDI deployment failure:Class xxx.HelloWorldResource has unsupported major or minor version numbers, which are greater than those found in the Java Runtime Environment version 1.8.0_262.
    Is it possible to deploy a Java 11 application or the error comes from another problem?

    1. Jadon Ortlepp

      Hi Richard, it is possible to deploy a Java 11 application but not with the community Docker image as that runs on JDK 8. You need to create a JDK11 based Docker image. I hope this helps.

  2. Richard Grin

    Thanks Jadon for your quick answer. All is clear now.

  3. Peter Yong

    Hello, I notice the docker image in Docker Hub is in UNIX. Where can I download a docker image for Payara Server for Windows platform?

Related Posts

payara qube logo 5 minutes
Payara

Payara Cloud Is Now part of Payara Qube family of Unified Platforms for Enterprise Java

Payara Cloud is becoming part of Payara Qube family of Java application deployment runtimes. This move reflects how the […]

Payara promotional graphic showing transition from Spring to Jakarta EE, including technology logos, a code icon and arrows leading from Spring to Jakarta EE. 6 minutes
Jakarta EE

From Spring Boot To Jakarta EE 11: How Payara Starter Eases The Transition

If you’ve been living in the Spring ecosystem, you’re used to fast project setup. Spring Initializr gives you a […]

Promotional graphic for a podcast episode titled “Why Open Source is the Future of Business Innovation - A conversation with Arun Gupta”. The podcast is hosted by Payara Community. The right side features a photo of the speaker, Arun Gupta, labeled as a “VP, Developer Experience at JetBrains”. The design uses dark blue and teal backgrounds with coral and fish illustrations. 2 minutes
Community

Payara Podcast – Why Open Source is the Future of Business Innovation – A Conversation with Arun Gupta

Open source is no longer a developer-only concern — it’s at the heart of how modern businesses innovate, build […]