A formula can generate logs, when run locally, it is possible to get these files but when run with Docker, these files are only in the container.
I created a repository on GitHub to illustrate the problem, due to forum guidelines, I won’t paste the link, to get to this repository:
- Username: afonsofilhozup
- Repository: ritchie-formulas-docker-issues
To reproduce the problem:
- Add the repository in Ritchie
- Run the formula: rit docker-issues use volume --docker
This formula tries to read a text file that is passed as input and show it in the terminal, after that, create a log file. How to extract the log file using Docker?