Skip to content

Docker deployment

MiguelRivasQuobis edited this page May 5, 2019 · 1 revision

The validator can be used inside a Docker container in API mode. A Dockerfile is present in the folder of the project with all needed intructions to build the image and run the API. When the container is created it will be listening at PORT 5001.

#create the docker image
docker build --no-cache -f ./Dockerfile -t registry.sonata-nfv.eu:5000/tng-sdk-validation .

#run the image
docker run --rm -d --name tng-sdk-validate registry.sonata-nfv.eu:5000/tng-sdk-validation
Clone this wiki locally