From 5d63a8fa7a70f7ab6a908e40914bf622abd09f4c Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Sat, 26 Apr 2025 09:26:40 +0300 Subject: [PATCH] Update 70-volumes.md --- docs/versioned_docs/version-3.5/20-usage/70-volumes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/versioned_docs/version-3.5/20-usage/70-volumes.md b/docs/versioned_docs/version-3.5/20-usage/70-volumes.md index 6897053fb..cc9ba7d6b 100644 --- a/docs/versioned_docs/version-3.5/20-usage/70-volumes.md +++ b/docs/versioned_docs/version-3.5/20-usage/70-volumes.md @@ -19,6 +19,8 @@ Volumes are only available to trusted repositories and for security reasons shou + - /var/run/docker.sock:/var/run/docker.sock ``` +If you use the Docker backend, you can also use named volumes like `some_volume_name:/var/run/volume`. + Please note that Woodpecker mounts volumes on the host machine. This means you must use absolute paths when you configure volumes. Attempting to use relative paths will result in an error. ```diff