Skip to content

Commit 17fd615

Browse files
authored
Merge pull request #183 from OpenAPITools/minor-readme-update
Add --rm and latest tag to container example
2 parents ae4776b + 3cb635c commit 17fd615

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ In this example the `$(pwd)/core/src/test/resources` directory is mounted in the
7777
in readonly mode (`ro`).
7878
7979
```bash
80-
docker run -t \
80+
docker run --rm -t \
8181
-v $(pwd)/core/src/test/resources:/specs:ro \
82-
openapitools/openapi-diff /specs/path_1.yaml /specs/path_2.yaml
82+
openapitools/openapi-diff:latest /specs/path_1.yaml /specs/path_2.yaml
8383
```
8484
8585
The remote name `openapitools/openapi-diff` can be replaced with `local-openapi-diff` or the name you gave to your local image.

0 commit comments

Comments
 (0)