Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 645 Bytes

DOCKER.md

File metadata and controls

15 lines (12 loc) · 645 Bytes

Running oasdiff from docker

To run oasdiff from docker just replace the oasdiff command by docker run --rm -t tufin/oasdiff (or the image you prefer).
Here are a few examples:

Breaking changes with Docker

docker run --rm -t tufin/oasdiff breaking https://raw.githubusercontent.com/Tufin/oasdiff/main/data/openapi-test1.yaml https://raw.githubusercontent.com/Tufin/oasdiff/main/data/openapi-test3.yaml

Comparing local files with Docker

docker run --rm -t -v $(pwd):/specs:ro -w /specs tufin/oasdiff changelog openapi-test1.yaml openapi-test3.yaml

Replace $(pwd) by the path that contains your specs.