Skip to content

Running Docker

Adam edited this page Apr 13, 2017 · 6 revisions

Overview

I have split the the repo into two containers. This is because installing all the dependencies has been taking approximately 25 minutes without the split and I am intending on having more dependencies installed for future parts of the tool. One of the containers is for the installation of most of the dependencies and the other is for the repository files / code.

Installing Docker

https://docs.docker.com/engine/getstarted/step_one/

Make sure docker is running before building the containers. On mac you will see a green circle on the right in the panel along the top.

Working with Docker

Get the latest version of the container

docker pull oicr/mpbiopath

Building containers locally containers

Build Environment Container

make build-env

Build App Container

make build-app

Run commands in container

This is too run command line inside of the container. You can also run individual commands.

docker run -it oicr/mpbiopath /bin/bash