Update 70-volumes.md

This commit is contained in:
qwerty287 2025-04-26 09:26:40 +03:00 committed by GitHub
parent f38aa8d062
commit 5d63a8fa7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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