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
This guide will demonstrate the basic usage of Docker, as well as some example configurations using the Payara Server Docker images.
Clustering Payara Server in Docker
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.
Payara Server in Docker
Watch video to learn how to use Payara Docker Images and how to run Payara Server inside of a Docker container.
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.
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.
Payara Domain Data Grid Cluster on Docker
Watch video to learn how to cluster two Domain Data Grids on Payara Platform with Docker.
Payara Micro and Docker
Using Payara Micro with Docker
This guide will demonstrate the basic usage of Docker, as well as some example configurations using the Payara Micro Docker images.
Payara Micro in Docker: Run, Configure, and Build Custom Docker Images
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.
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 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.
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.
From the Payara Blog
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.
Deploy Docker Containers On Azure 18 Jun 2019
Several Cloud Providers have the possibility to run your Payara Platform Docker Images on their infrastructure. In this blog, I will describe to you how you can run your application on Microsoft Azure using a Docker Container. All the steps required to perform this are described using the Azure Portal (web-based application) and the Azure Command line.
Kubernetes is most commonly used with Docker managed containers, although it doesn't strictly depend on it. Kubernetes defines a Container Runtime Interface (CRI) that container platforms must implement in order to be compatible. These implementations are colloquially known as "shims". This makes Kubernetes platform agnostic so that instead of Docker you're free to use other platforms with corresponding shims, such as CRI-O or KataContainers.
The concept of a Docker node and instance are introduced in Payara Server 5.192 as a tech preview. The aim of these is to provide better native integration of Payara Server with Docker.
There's a lot of noise revolving around Docker at the moment, and with the current industry focus on the cloud, there's a good reason for that. I hope you would already know why you might want to use Payara Platform in your business, so in this blog I'm going to focus more on why you'd specifically want to use it with Docker in a "business" context. For a start, if you're unfamiliar with Docker, please refer back to our introductory blog: What is Docker and How is it Used with the Payara Platform for a primer.
What is Docker? 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.