@Override
                    public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOException {
                        Files.delete(dir);
                        return FileVisitResult.CONTINUE;
                    }
Recursively delete a directory and all its subdirectories and files.

@param directory path to the directory to delete.
core/src/main/java/org/testcontainers/utility/PathUtils.java