Mention named volumes (#5130)

This commit is contained in:
qwerty287 2025-04-26 12:39:01 +03:00 committed by GitHub
parent 8110228bb2
commit 67008c47cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

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

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