public RabbitMQContainer withRabbitMQConfigSysctl(MountableFile rabbitMQConf) {
        withEnv("RABBITMQ_CONFIG_FILE", "/etc/rabbitmq/rabbitmq-custom.conf");
        return withCopyFileToContainer(rabbitMQConf, "/etc/rabbitmq/rabbitmq-custom.conf");
    }
Overwrites the default RabbitMQ configuration file with the supplied one.

This function doesn't work with RabbitMQ &lt; 3.7.

This function and the Sysctl format is recommended for RabbitMQ &gt;= 3.7

@param rabbitMQConf The rabbitmq.config file to use (in sysctl format, don't forget empty line in the end of file)
@return This container.
modules/rabbitmq/src/main/java/org/testcontainers/containers/RabbitMQContainer.java