Update 'drone-ci/README.md'
This commit is contained in:
parent
d98a7a2b6c
commit
ff50060a61
@ -7,7 +7,7 @@ This guide covers configuring continuous integration pipelines for projects that
|
||||
|
||||
### Basic Example
|
||||
In the below example we demonstrate a pipeline that connects to the host machine Docker daemon by mounting a volume. For security reasons, only trusted repositories can mount volumes. Furthermore, mounting the host machine Docker socket is highly insecure, and should only be used in trusted environments.
|
||||
```
|
||||
```yaml
|
||||
---
|
||||
kind: pipeline
|
||||
name: default
|
||||
@ -26,7 +26,7 @@ volumes:
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
...
|
||||
|
||||
```
|
||||
|
||||
# SSH
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user