Skip to content

Commit

Permalink
add reference to dockerhub image
Browse files Browse the repository at this point in the history
  • Loading branch information
MattePalte committed Jan 26, 2023
1 parent fc6eec1 commit c7d431c
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions DOCKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,25 @@
We also provide a Dockerfile to run MorphQ in a Docker container.

1. To build the Docker image, run the following command:
```bash
docker build -t morphq .
```

```bash
docker build -t morphq .
```
1. To run the Docker container, run the following command:
```bash
docker run -it --rm -p 8888:8888 morphq
```

Optionally: To avoid the build process, you can also use the ready made Docker image from Docker Hub:
```bash
docker run -it --rm -p 8888:8888 morphq
docker run -it --rm -p 8888:8888 mattepalte/morphq:latest
```


### LEVEL 1: Reproduce the Paper Figures

1. To run the run the notebook in the Docker container, run the following command:
```bash
jupyter notebook --allow-root --no-browser --ip=0.0.0.0 --port=8888
```
```bash
jupyter notebook --allow-root --no-browser --ip=0.0.0.0 --port=8888
```
1. Then open the link that is printed in the terminal in your browser. Note that the link will look something like this: `http://127.0.0.1:8888/?token=6819f647f19859d9e92013a41f52f49d6ffed633e7b68657`.
1. Open the `notebooks/RQs_Reproduce_Analysis_Results_Level_1.ipynb` notebook.
1. Run the notebook top-to-bottom.
Expand Down

0 comments on commit c7d431c

Please sign in to comment.