Mention named volumes

This commit is contained in:
qwerty287 2025-04-26 08:42:15 +03:00 committed by GitHub
parent 74e4dfbd7c
commit f38aa8d062
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