mirror of
https://github.com/thegeeklab/drone-docker.git
synced 2024-11-23 13:20:40 +00:00
docs: add privileged flag to usage example
This commit is contained in:
parent
f2b247463c
commit
1eb49849a9
@ -24,7 +24,7 @@ The tags follow the major version of Docker, e.g. `19`, the minor and patch part
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
{{< hint type=important >}}
|
{{< hint type=important >}}
|
||||||
Be aware that the this plugin requires privileged capabilities, otherwise the integrated Docker daemon is not able to start.
|
Be aware that the this plugin requires [privileged](https://docs.drone.io/pipeline/docker/syntax/steps/#privileged-mode) capabilities, otherwise the integrated Docker daemon is not able to start.
|
||||||
{{< /hint >}}
|
{{< /hint >}}
|
||||||
|
|
||||||
```YAML
|
```YAML
|
||||||
@ -34,6 +34,7 @@ name: default
|
|||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: docker
|
||||||
image: thegeeklab/drone-docker
|
image: thegeeklab/drone-docker
|
||||||
|
privileged: true
|
||||||
settings:
|
settings:
|
||||||
username: octocat
|
username: octocat
|
||||||
password: secure
|
password: secure
|
||||||
|
Loading…
Reference in New Issue
Block a user