docker_grep
Search text files inside a Docker container recursively using ripgrep, with grep fallback, and display results as file:line:match.
Instructions
Search text files recursively inside a Docker container with ripgrep, falling back to grep. Output format is file:line:match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | File glob to restrict search (e.g. '*.js'). | |
| path | No | Absolute or relative path inside the container. | . |
| invert | No | Invert match, returning lines that do NOT match (-v). | |
| pattern | Yes | ||
| container | Yes | Docker container name or id. | |
| ignore_case | No | Case-insensitive matching (-i). | |
| max_results | No | Stop reading each file after this many matches (-m). | |
| word_regexp | No | Match whole words only (-w). | |
| fixed_strings | No | Treat pattern as a literal string (-F). |