Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 377 Bytes

files.md

File metadata and controls

11 lines (9 loc) · 377 Bytes

Files and volumes

Volume mapping

It is possible to map a file or directory on the classpath into the container as a volume using withClasspathResourceMapping:

new GenericContainer(...)
        .withClasspathResourceMapping("redis.conf",
                                      "/etc/redis.conf",
                                      BindMode.READ_ONLY)