...
Please check the wiki page OpenCDS container for more details about how to build the opencds docker image. The following command will create a new container called opencds based on the image opencds/opencds:ubuntu
Code Block | ||
---|---|---|
| ||
$ sudo docker run -d -p 8080:8080 -p 8443:8443 -p 2222:22 --name opencds opencds/opencds:ubuntu-name opencds opencds/opencds:ubuntu |
Run the following command in order to find out the URL assigned by docker to the opencds container. In this case the URL assigned by Docker is 172.17.0.6
Code Block | ||
---|---|---|
| ||
$ sudo docker inspect opencds | grep IPAddress
"IPAddress": "172.17.0.6",
"SecondaryIPAddresses": null, |
Verify that opencds service is available by opening a browser on the URL http://localhost172.17.0.6:8080/opencds-decision-support-service/evaluate?wsdl
Create cdatovmr docker container
Please check the wiki page cda2vmr container for more details about how to build the image the image. Before building the image edit the
Code Block | ||
---|---|---|
| ||
sudo docker run -p 8081:8080 -p 2223:22 -p 4848:4848 -p 8181:8181 -p 9009:9009 --name cdatovmr -i -t opencds/cdatovmr |
...