mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-04-27 03:10:58 +00:00
Mention named volumes (#5130)
This commit is contained in:
parent
8110228bb2
commit
67008c47cf
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user