Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerization #302

Open
straussmaximilian opened this issue Jul 30, 2021 · 0 comments
Open

Dockerization #302

straussmaximilian opened this issue Jul 30, 2021 · 0 comments
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@straussmaximilian
Copy link
Member

This is to collect all docker-related issues.

Status

There are two experimental dockerfiles Dockerfile_bruker and Dockerfile_thermo.

Dockerfile_bruker is so far not finished. There is a split for two dockerfiles as it was quite challenging to be compatible, on the Thermo side we need the mono installation and on the Bruker side we need a recent Ubuntu version for the feature finder.

The Dockerfile_thermo builds, however behaves not very stable. It stops at random points (e.g. for Thermo in feature finding) , even for very small files. The UI remains stable. I suspect that these issues seem to be process related.
Any help is welcome.

Legacy description

There was a previous description in the readme which is removed until docker is tested.


Dockerization

We provide a dockerfile to show how to run AlphaPept in a containerized environment. This allows building powerful pipelines e.g. with AWS Batch. The dockerfile will launch the browser-based GUI.

  1. Install docker
  2. Build the dockerfile with docker build -t docker-alphapept:latest . This took approximately ~10 minutes on a 2019 MacBookPro)
  3. Run the container docker run -p 8501:8501 -v /Users/mstrauss/Desktop/docker:/home/alphapept/ docker-alphapept:latest alphapept gui

Notes:
-p 8501:8501 forwards the streamlit port to the same port on your machine. You can access AlphaPept via localhost:8501
-v /Users/mstrauss/Desktop/docker:/shared_folder/ mounts the volume to your docker container. E.g., in this case, the local docker-folder on the Desktop can be accessed via /shared_folder/.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant