In this recipe, you will learn how to run WildFly in the domain mode using containers. We will use one container to act as the domain-controller and two other containers, each to act as the servers of a server-group.
To properly follow and understand the topics treated in this recipe, we need to know what the WildFly domain mode is, along with its principles. You can also refer to Chapter 3, Working with XAML, which is about running WildFly in the domain mode.
Furthermore, you need to have followed the first two recipes of this chapter, of having a working Docker installation and a WildFly image available for use.
Nevertheless, to simplify our recipe, we will rely on the WildFly default configuration files: domain.xml
, host-master.xml
and host-slave.xml
.