@SneakyThrows
    @Override
    protected void containerIsStarting(InspectContainerResponse containerInfo) {
        super.containerIsStarting(containerInfo);

        Configuration cfg = new Configuration(Configuration.DEFAULT_INCOMPATIBLE_IMPROVEMENTS);
        cfg.setClassLoaderForTemplateLoading(getClass().getClassLoader(), "testcontainers");
        cfg.setDefaultEncoding("UTF-8");

        copyFileToContainer(getBootstrapFile(cfg), "/etc/redpanda/.bootstrap.yaml");
        copyFileToContainer(getRedpandaFile(cfg), "/etc/redpanda/redpanda.yaml");
    }
Testcontainers implementation for Redpanda.
<p>
Supported images: {@code redpandadata/redpanda}, {@code docker.redpanda.com/redpandadata/redpanda}
<p>
Exposed ports:
<ul>
    <li>Broker: 9092</li>
    <li>Schema Registry: 8081</li>
    <li>Proxy: 8082</li>
</ul>
modules/redpanda/src/main/java/org/testcontainers/redpanda/RedpandaContainer.java