You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the normal behavior of docker run. If you omit > README.md at the end of the command above, whatever you see as a result of that command is not stdout of the terminal you are in, rather than the stdout of the container.
What you can do is to use --output-file README.md and use native save to file functionality of terraform-docs.
Describe the bug
If i try to run terraform-docs with docker like:
docker run --rm --volume "$(pwd):/data" -u $(id -u) quay.io/terraform-docs/terraform-docs:0.16.0 markdown /data > README.md
The file/result is always empty.
Otherwise if i try this with terraform-docs binary instead the container i'm getting solid documentation/content.
Whatr could be wrong or how to debug this.
I already created an image myself with only the terraform-docs binary in it: same result
Any ideas ?
Environment information
The text was updated successfully, but these errors were encountered: