-
Notifications
You must be signed in to change notification settings - Fork 6
Running with Docker
Isuru Liyanage edited this page Apr 27, 2021
·
2 revisions
BioValidator Docker image is stored in quay.io. It can be pulled into local environment by
docker pull quay.io/ebi-ait/biovalidator:1.0.0
BioValidator can be run in two modes, either as a server or onetime script by providing schema and json as arguments.
Run in server mode
docker run -p 3020:3020 -d quay.io/ebi-ait/biovalidator:1.0.0 --server
Run in onetime mode
docker run quay.io/ebi-ait/biovalidator:1.0.0 --schema /path/to/schema.json --json /path/to/json.json
If you want an example schema, json to test the validator, you can clone this repository and use provided examples
git clone https://github.com/elixir-europe/biovalidator.git
cd biovalidator
docker run quay.io/ebi-ait/biovalidator:1.0.0 --schema ./examples/schemas/test-schema.json --json ./examples/objects/test-schema-valid.json