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

Alternative FREEC usage from a container #104

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kirilllzaitsev
Copy link

@kirilllzaitsev kirilllzaitsev commented Jun 3, 2022

The goal is to make FREEC experiments simpler without setting up C++ make and miscellaneous libraries on the end-user's operating system.
Docker allows developers to bake a container, ready for execution by users with a one-liner command.

Pros:

  • users don't need to mirror the developer's setup (make, g++, their versions, etc.)
  • runs on any OS

Cons:

  • users have to install Docker (this is substantially easier than that listed above)
  • need to keep track of folder locations: as per the README, users make a minor modification to a configuration file and have to use the instructions in the README carefully to get the results

Image on the Dockerhub should be rehosted to a BoevaLab repository.

Q&A

Versioning
Dockerhub provides the same means of image versioning as Github for code. It could be automated, but for now, it is the developer's responsibility to keep the versions of code and an image built from this code the same.

Running with data split across multiple folders (in the local filesystem)
--mount option in the docker run command can be used multiple times, one for each folder where the required data resides

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant