Data Annotator for Machine Learning (DAML) run with docker

June 28, 2022 ยท View on GitHub

Tools used

Please go to https://docs.docker.com/get-docker/ to download the proper docker version for your machine.

Start/End application

In active-learning-service we use en_core_web_md as the default spacy module if you want to replace it. you can directly replace it in the docker-compose file. eg. - SPACY_MODEL=zh_core_web_md for spacy models ref: https://spacy.io/models

  • If your machine already installed MongoDB, and you want to use that as the database. you need to download the docker-compose-host-db.yml file and use it to run the DAML application.

    Start the containers:

    docker compose -f docker-compose-host-db.yml up
    

    End the containers:

    docker compose -f docker-compose-host-db.yml down
    
  • Else you need to download the docker-compose.yml file and use it to run the DAML application.

    Start the containers:

    docker compose -f docker-compose.yml up
    

    End the containers:

    docker compose -f docker-compose.yml down
    

How to use

Open http://localhost:4200 with your browser, now you can use full of the DAML application functions.

More commands

For more commands you can reference here docker compose commands.

DAML application docker images

https://hub.docker.com/search?q=vmware-daml-&type=image