diff --git a/src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java b/src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java
+++ b/src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java
@@ -431,8 +431,13 @@ public abstract class WebDriverManager {
         return this;
     }
 
-    public WebDriverManager dockerVolumes(String volumes) {
-        config().setDockerVolumes(volumes);
+    public WebDriverManager dockerVolumes(String[] volumes) {
+        config().setDockerVolumes(String.join(",", volumes));
+        return this;
+    }
+
+    public WebDriverManager dockerVolume(String volume) {
+        config().setDockerVolumes(volume);
         return this;
     }
Include API method to specify volumes as string array