2020-01-16 10:27:46 +00:00
|
|
|
---
|
|
|
|
title: Using docker
|
|
|
|
---
|
|
|
|
|
2020-06-03 14:22:56 +00:00
|
|
|
<!-- prettier-ignore-start -->
|
2020-06-07 14:29:44 +00:00
|
|
|
<!-- spellchecker-disable -->
|
2020-01-16 10:27:46 +00:00
|
|
|
{{< highlight Shell "linenos=table" >}}
|
|
|
|
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 \
|
2020-09-27 12:21:54 +00:00
|
|
|
thegeeklab/ansible-doctor
|
2020-01-16 10:27:46 +00:00
|
|
|
{{< /highlight >}}
|
2020-06-07 14:29:44 +00:00
|
|
|
<!-- spellchecker-enable -->
|
2020-06-03 14:22:56 +00:00
|
|
|
<!-- prettier-ignore-end -->
|
2020-01-16 10:27:46 +00:00
|
|
|
|
|
|
|
{{< hint info >}}
|
2020-01-16 10:39:07 +00:00
|
|
|
**Info**\
|
2020-06-02 20:17:46 +00:00
|
|
|
Keep in mind, that you have to pass SELinux labels (:Z or :z) to your mount option if you are working on SELinux enabled systems.
|
2020-01-16 10:27:46 +00:00
|
|
|
{{< /hint >}}
|