Docker container for the Differential Language Analysis ToolKit.
Full install instructions are available here. DLATK container available at DockerHub.
Starts a mysql docker container and then builds and runs the DLATK container; linking the two containers together. See https://hub.docker.com/_/mysql/ for more info on the MySQL container.
docker run --name mysql_v5 -v /my/own/datadir:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:5.5
docker run -it --rm --name dlatk_docker_test --link mysql_v5:mysql dlatk/dlatk bashThe following variables can be overridden in the DLATK docker container allowing for the user to use a different MySQL instance:
MYSQL_USER: Username for the DB.MYSQL_PASSWORD: Password for the user.MYSQL_HOST: IP/Host of the server.MYSQL_PORT: Port of the server (e.g.3306).
If following the tutorial you'll need run the following to load the sample data:
mysql < $DLATK_DIR/data/dla_tutorial.sql
mysql < $DLATK_DIR/data/permaLexicon.sqlThe DockerFile was originally written by Michael Becker at Penn Medicine.
- Create a
docker-compose.yml. - Optionally allow for the IBM Wordcloud jar to be utilized.