In the standard deployment methods of Galera Cluster, the node runs on a server in the same manner as would an individual standalone instance of MySQL. In container deployments, the node runs in a containerized virtual environment on the server. You may find these methods useful in portable deployments across numerous machines, testing applications that depend on Galera Cluster, process isolation for security, or scripting the installation and configuration process.
For the most part, the configuration for a node running in a containerized environment remains the same as well the node runs in the standard manner. But, there are some parameters that draw their defaults from the base system configurations. These you need to set manually, as the jail is unable to access the host file system.
Bear in mind that the configuration file must be placed within the container /etc directory, not that of the host system.