The Payara Platform and Docker

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. Check out the following resources to learn more about using the Payara Platform with Docker.

Payara Server and Docker

Using Payara Server with Docker

Using Payara Server with Docker Guide

This guide will demonstrate the basic usage of Docker, as well as some example configurations using the Payara Server Docker images.

Download User Guide

Clustering Payara Server in Docker

Clustering Payara Server in Docker user guide.

This guide will demonstrate some more advanced aspects of using Payara Server in Docker and how to setup Payara Server and Payara Micro in a clustered architecture.

Download User Guide

Payara Server in Docker

Video link to Payara Server in Docker: Basics.

Watch video to learn how to use Payara Docker Images and how to run Payara Server inside of a Docker container.

Watch Video

Payara Server in Docker: Custom Docker Image

Payara server in docker custom docker image

Watch video to learn how to configure a Payara Server Docker container and how to build a custom Docker image that contains configuration and applications.

Watch Video

Payara Deployment Group on Docker

Payara Deployment Group on Docker

Watch video to learn some advanced Docker techniques in a demonstration of the Deployment Group feature of Payara Platform with Docker containers.

Watch Video

Payara Domain Data Grid Cluster on Docker

Payara Domain Data Grid Cluster on Docker

Watch video to learn how to cluster two Domain Data Grids on Payara Platform with Docker.

Watch Video

Introduction to Payara Server Docker Nodes & Instances

Cover of Introduction to Payara Server Docker Nodes & Instances

This guide details the basic steps required to get a simple application deployed to a Payara domain with a number of Payara Server instances running in Docker containers and assigned to a deployment group.

Download Guide

Payara Micro and Docker

Using Payara Micro with Docker

'Using Payara Micro with Docker' user guide front cover.

This guide will demonstrate the basic usage of Docker, as well as some example configurations using the Payara Micro Docker images.

Download User Guide

Payara Micro in Docker: Run, Configure, and Build Custom Docker Images

Payara Micro in Docker Run, Configure, and Build Custom Docker Images video

Watch this video to learn how to run Payara Micro inside a Docker container, how to run your applications with it, how to configure it, and how to build your custom Docker image that contains everything you need to run your application.

Watch Video

Payara Micro Cluster on Docker

Video link to Payara Micro Cluster On Docker.

This video shows advanced Docker techniques and how to cluster with Payara Micro. You can use Payara Micro instances joined automatically with a Domain Data Grid and because Payara Micro is optimized for Docker and Kubernetes, this set up will work right out-of-the-box with no special configuration needed.

Watch Video

Using Payara Platform with Docker on Microsoft Azure

Using Payara Platform with Docker on Microsoft Azure

In this user guide, we’ll show you how to deploy your Payara Micro-based application using a Docker Image on the Azure Platform. We focus on the Container as a Service option where the Microsoft Azure Platform provides all the capabilities for running your applications through the usage of a Docker Container in the cloud.

Download User Guide

From the Payara Blog

  • Easy Jakarta EE Integration Testing with the Payara Platform and Testcontainers 24 Mar 2022

    One major issue when developing modern enterprise applications is the "works on my machine" problem: when an application works well on your machine but is not functional in production or even on a colleague's machine. An even more prevalent problem is to maintain the quality of ever-changing applications during development and maintenance.  This is especially prevalent when Jakarta EE applications are developed and not properly tested in an isolated and cohesive manner. Proper integration testing helps to avoid both the "works on my machine" problem, and ensures developers can change the application effectively without breaking it. However often teams struggle with it, due to a lack of standardized testing solutions and the unpredictability of real-world conditions.  Here, I present an effective method for Jakarta EE integration testing, using Payara Platform and Testcontainers in my example.

  • Payara Micro 5によるUber JARの作成 18 May 2021

    Payara Microでは、Webアプリケーションを自己完結型で簡単に実行することができます。2016年5月のPayara Serverリリースからは、WARファイルの内容とPayara Microを構成するクラスやリソースを束ねる “Uber JAR” を作成する簡単な方法があります。 この “Uber” Jarは、Dockerコンテナ内でアプリケーションを実行するための最良の方法ではないことに注意してください。アプリケーションに小さなコード変更を加えるたびに、バイナリ全体のアップデートが必要になるためです。より良い方法は、Payara Microインスタンスを起動して、インストールが必要なアプリケーションを指定することです。詳細については Payara Micro Docker Image documentation をご覧ください。 (最終更新日 2021/04/06)

  • 14 Docker Tips for the Payara Platform 15 Jan 2021

    Creating a Docker image is not that difficult. The Dockerfile script contains a few commands that define and prepare your image that will be run by the engine as a container.

  • Using Payara Server with Docker 22 Apr 2020

    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. 

  • What is Docker and How is it Used with the Payara Platform (Japanese) 07 Feb 2020

    Dockerとは? DockerとPayara Server/Payara Microを一緒に使うには?

  • Using Container Orchestration Tools with Payara Platform 30 Sep 2019

    Introduction With Container orchestration tools like Kubernetes and Docker Swarm, you can add instances quite easily. Depending on the type of clustering you need or use for your application, some scenarios are easier to implement than others.

More Docker Blogs

Back to top