Skip to content

Commit

Permalink
Add docker usage example to README
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaoming committed Feb 16, 2024
1 parent 0964c83 commit 11b480b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ dune exec rat -- <args>
Run with `--help` to print the help message.
If there are no arguments, the command runs the interactive interpreter.

To run `rat` inside Docker:

``` bash
# Build (you just need to do this once
docker build . -t rat:latest

# Example of running rat with arguments
docker run rat:latest rat --regex '(a|a)*b'
```

## Example Analysis

Assume we have `rat` installed on the machine.
Expand Down

0 comments on commit 11b480b

Please sign in to comment.