OpenCGA has published a "ready to run" docker image under the repository opencb/opencga-demo for quick testing and playing without going through hassle to learn, wait and install each and every component of OpenCGA. Once users pull this image, they can immediately run and use OpenCGA. This image contains the following components :

  1. OpenCGA binaries
  2. MongoDB 4.0
  3. Solr 6.6 (default
  4. init.sh, a bash script to install OpenCGA catalog and populate data (optional)

Once users run opencga demo image, on first run, it will install catalog in mongoDB, start REST server (on port 9090) and start OpenCGA daemon. By default, it won't load any data, In case users also wish to load some demo data, just set the option skipLoad to false instruct container to load data. This will instruct OpenCGA Demo container to download data from Corpasome project, load, annotate, calculate stats and index into Solr search engine. This process roughly takes 35-40 min depending on internet speed and machine specifications.


Following are few of useful docker commands, URLs and addresses to interact with OpenCGA demo container :

Start OpenCGA demo container without loading any variant demo data (Quick Option): 

docker run --name demo -d opencb/opencga-demo:1.4.1

Start OpenCGA demo container with loading variant demo data : 

docker run --name demo -e skipLoad=false -d opencb/opencga-demo:1.4.1 

OpenCGA will listen on the following address :

http://OpenCGA-Demo-Container-IP:9090/opencga/webservices/rest/v1/users/create

Solr Dashboard will be available on the following address: 

http://OpenCGA-Demo-Container-IP:8983/solr

To connect with OpenCGA demo container : 

docker exec -it demo bash

To see OpenCGA demo container logs : 

docker logs demo -f