mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-16 02:00:43 +00:00
22 lines
547 B
Markdown
22 lines
547 B
Markdown
---
|
|
title: Using docker
|
|
---
|
|
|
|
```Shell
|
|
docker run \
|
|
-e ANSIBLE_DOCTOR_ROLE_DIR=example/demo-role/ \
|
|
-e ANSIBLE_DOCTOR_OUTPUT_DIR=example/ \
|
|
-e ANSIBLE_DOCTOR_FORCE_OVERWRITE=true \
|
|
-e ANSIBLE_DOCTOR_CUSTOM_HEADER=example/demo-role/HEADER.md \
|
|
-e ANSIBLE_DOCTOR_LOG_LEVEL=info \
|
|
-e PY_COLORS=1 \
|
|
-v $(pwd):/doctor \
|
|
-w /doctor \
|
|
thegeeklab/ansible-doctor
|
|
```
|
|
|
|
{{< hint info >}}
|
|
**Info**\
|
|
Keep in mind, that SELinux labels (`:Z` or `:z`) need to be passed as mount option on SELinux enabled systems.
|
|
{{< /hint >}}
|