Open gsaxena888 opened 1 year ago
Hi, There is an open issue that gives a status about the current Docker integration: https://github.com/MannLabs/alphapept/issues/302
Did you create your own dockerfile? The error above looks like a dependency issue.
It seems that the people from Renku got it running with their dockerfile: https://renkulab.io/projects/renku-stories/alphapept-gui-streamlit
I will test this and update here.
Hi,
so I tested out the Dockerfile, similar to the Renku, I had success with jupyter/base-notebook:python-3.8
as a base.
If you want to check it out, it is on this branch: https://github.com/MannLabs/alphapept/tree/Docker
Note that I made some small code changes, so you would need to clone the repo and checkout this branch.
This only works for Thermo files for now and I will now have a look at Bruker.
To test:
Make sure Docker has enough resources:
This was on an M1-Mac with ARM processor. I don't know if building it on an Intel will change things.
1) Clone Alphapept Repo. Make sure to cd into that repo.
2) git fetch origin
3) git checkout origin/Docker
4) docker build -t docker-alphapept:latest .
To run things, I mapped a folder on my desktop:
5)docker run -p 8505:8505 -v /Users/username/Desktop/docker:/home/alphapept/ docker-alphapept:latest alphapept gui
Additionally, if you want to try the notebook:
6) docker run -p 8888:8888 -v /Users/username/Desktop/docker:/home/jovyan/ docker-alphapept:latest jupyter notebook --allow-root
Let me know if this works. I will now try Bruker and update here.
I just finished testing the Bruker Dockerfile and updated the Branch. This now worked fine on a Windows test system. The Bruker DLLs are, unfortunately, built for 64, so I had issues running it on an ARM-based M1-Mac. While I got it to build with the platform command it was terribly slow. More detailed instructions etc. are in the Readme on this branch. Will soon merge to main and then close this issue. Feel free to test.
On a docker running Debian, I tried to run AlphaPept GUI, but I got this error message. Thoughts? Also, is there any plan to maybe have a docker version so that we can quickly try things out?