ansible-doctor/docs/content/setup/docker.md

20 lines
480 B
Markdown
Raw Normal View History

2020-01-16 11:27:46 +01:00
---
title: Using docker
---
```Shell
2020-01-16 11:27:46 +01:00
docker run \
-e ANSIBLE_DOCTOR_BASE_DIR=example/demo-role/ \
2020-01-16 11:27:46 +01:00
-e ANSIBLE_DOCTOR_FORCE_OVERWRITE=true \
-e ANSIBLE_DOCTOR_CUSTOM_HEADER=HEADER.md \
2020-01-16 11:27:46 +01:00
-e ANSIBLE_DOCTOR_LOG_LEVEL=info \
-e PY_COLORS=1 \
-v $(pwd):/doctor \
-w /doctor \
2020-09-27 14:21:54 +02:00
thegeeklab/ansible-doctor
```
2020-01-16 11:27:46 +01:00
2022-05-02 21:51:51 +02:00
{{< hint type=note >}}
Keep in mind, that SELinux labels (`:Z` or `:z`) need to be passed as mount option on SELinux enabled systems.
2020-01-16 11:27:46 +01:00
{{< /hint >}}